int main (void)
{
puts ("1 232 34543 232 1");
return 0;
} int main (void)
{ puts ("1 232 34543 232 1"); return 0; }
I don't use that function in C programme.
If you visualize 1123581321 as a set of numbers (without spaces in between) instead of one number, you'll see that it's a set of the first 8 Fibnocci nos. - 1 1 2 3 5 8 13 21. The following program would print the required no. using a For looping structure. int main (void) { int i=1; int j=1; int k, num=1; for(k=0; k<7; k++){ if(k==0){ printf("%d", num); } printf("%d", num); //next no. is the sum of previous two nos. in the series i=j; j=num; num=i+j; // 1 + 1 = 2 ... 1 + 2 = 3 ... 2 + 3 = 5 ... 3 + 5 = 8 // sum=i + j ... i takes value of j ... j takes value of sum ... repeat. } }
Write a C program to Draw a RAINBOW and fill the suitable colors ...
you can use strstr()
Text editor.
I don't use that function in C programme.
int a = 1; int b = 2; int c = a + b; // Sum
If you visualize 1123581321 as a set of numbers (without spaces in between) instead of one number, you'll see that it's a set of the first 8 Fibnocci nos. - 1 1 2 3 5 8 13 21. The following program would print the required no. using a For looping structure. int main (void) { int i=1; int j=1; int k, num=1; for(k=0; k<7; k++){ if(k==0){ printf("%d", num); } printf("%d", num); //next no. is the sum of previous two nos. in the series i=j; j=num; num=i+j; // 1 + 1 = 2 ... 1 + 2 = 3 ... 2 + 3 = 5 ... 3 + 5 = 8 // sum=i + j ... i takes value of j ... j takes value of sum ... repeat. } }
died c. 232 BC
232
result = a * b * c;
answer:32 programme to print factorial of a given number in c languages
int main (void) { printf ("One line programme\n"); return 0; }
#include<iostream.h>
Any experssion including assignment or a function call can be a statement in C
String Quintet in C is the music that is played in the inspector Purbright Programme. It the music is played by Schubert.
substracion of any two number program in c