write a program to addition of two numbers
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter the value of a and b");
scanf("%d%d",&a,&b);
c=a+b;
printf("c=%d",c);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter the value of a and b");
scanf("%d%d",&a,&b);
c=a+b;
printf("c=%d",c);
getch();
}
Comments
Post a Comment