// A Program to add two numbers.
#include#include
void main()
{
clrscr();
int a,b,c;
printf("Enter two numbers:");
scanf("%d%d",&a,&b);
c=a+b;
printf("Sum=%d",c);
getch();
}
Output:
// A Program to find odd or even.
// A program to display series from 1 to 50.
// A program to find the person is eligible for voting or not.
//A C program to find largest number among 3.
Nhận xét
Đăng nhận xét