Calculate and print "6+4=10" result on screen
1 2 3 4 5 6 7 8 | #include<stdio.h> int main() { int a,b,s; a=6; b=4; s=a+b; printf("%d+%d=%d",a,b,s); } |
Best of Luck
A blog about programming languages and this Blog specially Create for learning languages like C language,C++ Language, Data Structure and Algorithm.
1 2 3 4 5 6 7 8 | #include<stdio.h> int main() { int a,b,s; a=6; b=4; s=a+b; printf("%d+%d=%d",a,b,s); } |
#include<stdio.h> int main() { int i,n[10],c=0; printf ("Enter a number \n"); f[...]
#include<stdio.h> int main() { int r[20],e,s,a; printf("Enter array size"); sc[...]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #include<stdio.h> int [...]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include<stdio.h> main () { int n[[...]
1 2 3 4 5 6 7 8 9 #include<stdio.h> main() { int i,n[]={10,14,16,81,99,12}; for(i=0;i<[...]
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.