A program Convert it into c program "a^2 + b^2 +ab and display its result.
1 2 3 4 5 6 7 8 | #include<stdio.h> int main() { int a,b; a=2; b=6; printf("a^2+b^2+ab=%d",a*a+b*b+a*b); } |
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; a=2; b=6; printf("a^2+b^2+ab=%d",a*a+b*b+a*b); } |
#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.