Computer Science, asked by chandankumar980088, 1 year ago

Write a program to display sum of two number

Answers

Answered by kaushikpriya0304
1

Answer:

Explanation:

int a,b,sum;

a=5;

b=5;

sum=a+b;

cout<<sum;

Answered by sumeet1908
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