type in: "ABCD" in the input line.
C prognosis
b
(b b b)( b b b )(b d g a)(b....)(c c c c)(c b b b)(a a a b)(a...d)(b b b)(b b b)(b d g a)(b....)(c c c c)(c b b b)(d d c a)(g.....)
One of the following search engine is exclusively meant for scientific information : (A) Google (B) Yahoo (C) SCIRUS (D) Altavista
Yeah, you forgot to list the examples.
write a program to print the series 1/12+1/22+.........+1/n2 ?
e
# include<stdio.h> main() { int a,b,c; print f("enter the values of a,b,c"); scan f("%d%d%d",&a,&b,&c); if((a>b)&&(a>c)) print f("Greatest value is a =%d",a); else if((b>a)&&(b>c)) print f("Greatest value is b=%d",b); else print f("Greatest value is c=%d",c); }
You need to be more specific in what you are asking. For example, the following meets your requirements: int main() { printf("a a b a b c\n"); return 0; }
The answer is C.
C
The answer is C.
If you wish to sum every number as you go along:10 LET A=120 PRINT A30 LET B=A+140 PRINT A+B50 LET C=B+160 PRINT A+B+C70 LET D=C+180 PRINT A+B+C+D90 LET E=D+1100 PRINT A+B+C+D+E110 LET F=E+1120 PRINT A+B+C+D+E+F130 LET G=F+1140 PRINT A+B+C+D+E+F+G150 LET H=G+1160 PRINT A+B+C+D+E+F+G+H170 LET I=H+1180 PRINT A+B+C+D+E+F+G+H+I180 LET J=I+1190 PRINT A+B+C+D+E+F+G+H+I+J200 STOP
Starts Input a,b Result=(a-b)*(a-b) Print"square of difference=",result
to print the Fibonacci series until 100 you can take the input in d to make it run for whatever value you want void main(){ int a,b,c,d; a=0; b=1; c=1; d=100; while(c<d) { printf("%d\n",c); c=a+b; a=b; b=c; } }
C b a c d c b g a b b c
start read a read b c=a-b print c end