The C Programs
An ultimate blog where you can find almost all C programs.....!!
Pages
Home
Contact Us
Saturday 28 April 2012
C program to find sum of two numbers
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
clrscr(); //to clear the screen
printf("Enter first no:");
scanf("%d",&a);
printf("Enter second no:");
scanf("%d",&b);
sum=a+b;
printf("\nSum=%d",sum);
getch(); //to stop the screen
}
C program to find sum of two numbers
2012-04-28T06:04:00-07:00
Neeraj Mishra
Basic|
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)