Thursday 2 April 2020

Program: find sum of two numbers.

Program: find sum of two numbers.

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,s;
clrscr();
printf(“Enter two no: ”);
scanf(“%d%d",&a,&b);
s=a+b;
printf(“sum=%d”,s);
getch();
}

No comments:

Post a Comment