#include<stdio.h>
main()
{
int a, b, c;
printf("Enter two numbers to add\n");
scanf("%d%d",&a,&b);
c = a + b;
printf("Sum of entered numbers = %d\n",c);
return 0;
}
output :
Enter two numbers to add
4
5
Sum of entered numbers = 9
Placement papers|C,C++,JAVA Programming Tutorials|
PROGRAMMING CONCEPTS Designed by PSD Style © 2011 All Rights Reserved.
0 comments:
Post a Comment