/* Program to find sum of 2 numbers */
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf("enter the values of a,b");
scanf("%d%d",&a,&b);
a=a+b;
printf("sum of numbers is %d",a);
getche();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf("enter the values of a,b");
scanf("%d%d",&a,&b);
a=a+b;
printf("sum of numbers is %d",a);
getche();
}
No comments:
Post a Comment