Computer Science, asked by Astha629, 1 year ago

write a program to find the sum of two numbers.
ans it quickly..plzz

Answers

Answered by siddhartharao77
4
#include<stdio.h>
int main()
{
int a,b,c;

printf("Enter 1st number: ");
scanf("%d",&a);

printf("Enter 2nd number: ");
scanf("%d",&b);

c = a + b;

printf("Addition of two numbers is:%d",c);

return 0;


<! -- Hope this helps -->
Answered by Sahil786687
1
#include
#include
Void main()
{
Int a,b,c;
cout<<"enter two No's to find sum";
cin>>a>>b;
c=a+b;
cout<<"sum is :-"<getch()
}
Similar questions