So strange output!!!!!!!!!!
janks 2003-10-11 11:38:27 I am doing a program below, but its output FP is very big, though i give its value is
small enough!
#include <stdio.h>
#define DENW 1000.0
#define GG 9.8
/*my first c program*/
int main(void)
{
double fp, vp;
printf(" Comprex Stdio,Inc \n");
printf("Power operate program\n");
printf(" Now Begin \n");
printf("\n\nNow please enter the value of vp:");
scanf("%e",&vp);
printf("\nOK! Finished!!\n");
printf("The FP = %d!\n",DENW*GG*vp);
return 0;
}
and the FP output show on the screen is 1689403985873!!!???