C Program to find sum of two numbers

Program : C Program to find sum of two numbers

#include<stdio.h>
#include<conio.h>

void main()
{
int a,b,sum;
clrscr();

printf("Enter two no: ");
scanf("%d%d",&a,&b);

sum = a+b;

printf("Sum : %d",sum);

getch();
}
Output :
Enter two no: 5 6
Sum : 11

Share this

Related Posts

Previous
Next Post »

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer