#include <iostream.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
int main()
{
int pi;
{
cout << 1/2.545584412*8;
system("pause");
}
return 0;
}
That is my new code. Now, it shows only 3.1427, how do I get it do display more digits? Also, when beside the equation, I take away the ;, and << /n;, the program does not run, and when it is <<"/n";, It does not work.



LinkBack URL
About LinkBacks


