15 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #107.49K
Re: #include <stdio.h> #include <stdlib.h> int main() FILE *fptr; fptr = fopen ("data1.csv", "w"); int x, power2; if (fptr = NULL) printf("File cannot be opened\n"); exit(1); for(x = 1; x <= 100; x++) power2 = x*x; fprintf(fptr, "%d\n", power2); fclose(fptr); Hi everyone. Im trying to write into excel through c programming. … |