Sum Of Two Numbers In C


#include<stdio.h> #include<conio.h> void main(){ int a,b,c; clrscr(); printf("enter first number"); scanf("%d",&amp;a); printf("enter second number"); scanf("%d",&amp;b); c=a+b; printf("total number is %d",c); }

Output:-

10 + 20 = 30

Sharing is Caring :)



Codeverb is simply an all in one interactive learning portal, we regularly add new topics and keep improving the existing ones, if you have any suggestions, questions, bugs issue or any other queries you can simply reach us at from contact section or simply via this contact form.