Addition [C]
Hey coders, I am Agent 47 from Cyber Assassin's. Today we are writing a code which can do a simple math like addition , divide , multiply or minus. so here is the code
# include <stdio.h> int main()
{ int a=40,b=60,sum; sum= a+b; printf("the sum is :%d",sum); return 0; }
so the program is mainly for basic sum or maths.You all can understand it if you try and run into your compiler. So please try it and also comment your question and result.
I'm giving you a quiz
write program that will multiply
(hint: use sum= a*b;).
0 comments:
Post a Comment