Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Project 3 Part 1 v0.5
//gcc 5.4.0 #include <stdio.h> //Start Program //int n //int i //int f //READ n //for(i=0;i<=n;i++){ // f=(i-1)+(i-2); // printf("%d,",f); // } //End Program int main(void) { int n; int i=0; int f; scanf("%d",&n); if(n!=0){ do{ f=(i-1)+(i-2); printf("f=%d",f); printf("%d,",f); ++i; printf("i=%d\n",i); }while(i<=n); } else f=0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
swap_bitwise.c
Lab 7 blackjack v0.5
18BCE2182 LAB FAT-2(A)-(i)
multiplication
20171103_factorial
2.3 Comparision with Matrix Multiplication Execution Time
dynamic memory allocation.c
child process
Witout goto
Array Struct, Call-By-Reference, Malloc, Free, Init, Destroy ... Example
Please log in to post a comment.