// program to add two numbers
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
printf("Enter two numbers to be added").
scanf("%d",&a);
scanf("%d",&b);
c=a+b;
printf("%d",c);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
printf("Enter two numbers to be added").
scanf("%d",&a);
scanf("%d",&b);
c=a+b;
printf("%d",c);
getch();
}
No comments:
Post a Comment