Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~334 People Reached
Favorite Forums
Favorite Tags
c x 5
Member Avatar for leesin

#include <stdio.h> #include <stdlib.h> int main(void) { double a = 0.0; double b = 0.0; scanf("%lf", &a); printf("\nThe first number is %f", a); getchar(); return EXIT_SUCCESS; } The question is : how can the program continually re-prompt I mean when i enter the number, and then the number i entered …

Member Avatar for Ancient Dragon
0
93
Member Avatar for leesin

Hi everyone, i got a question about the fscanf. I input a file and scan the data in the file. It works good that if there are integers in line1,2,3,4 in the file. However, it does not work good with empty file or the file only has dat in line …

Member Avatar for leesin
0
94
Member Avatar for leesin

I want the program can do that for me. When I enter the name of file in the same folder of .exe, the program will scan the file data and print it out the data in order. However, i do not know how to scan the data in the file …

Member Avatar for Ancient Dragon
0
144