Write a program to display sum of two number
Answers
Answered by
1
Answer:
Explanation:
int a,b,sum;
a=5;
b=5;
sum=a+b;
cout<<sum;
Answered by
1
Answer:
In C/C++ it will be:
#include<stdio.h>
int main()
{
printf("Enter two numbers : ");
int a,b;
scanf("%d%d",&a,&b");
printf("\nThe sum of %d and %d is %d",a,b,a+b);
return 0;
}
Similar questions