Program to find sum of two numbers

C Programming Language / Overview of C Language

1177

Program:

#include<stdio.h><br />#include<conio.h><br />void main()<br />{<br /> int a,b,s; <br /> printf("Enter two no: ");<br /> scanf("%d%d",&amp;a,&amp;b);<br /> s=a+b;<br /> printf("sum=%d \n",s); <br />}

Output:

Enter two no: 5 10
sum=15
Press any key to continue . . .

Explanation:

We take two number 5 and 10 output=(5+10)=15

This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.