WELCOME TO MY BLOG BY SHABEEB.K

C,C++ PROGRAMMING: SUM OF TWO NUMBERS.

Search This Blog

Saturday, 3 August 2013

SUM OF TWO NUMBERS.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;

printf("ENTER FIRST NUMBER \n");

scanf("%d",&a);

printf("ENTER SECOND NUMBER\n");
scanf("%d",&b);

c=a+b;

printf("SUM IS %d",c);

getch();
}

                                                                   OUTPUT


No comments:

Post a Comment