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