Computer Science, asked by drithi03, 1 month ago

Write a C++ program to accept two integers and print their sum.

Answers

Answered by Cassie07
2

Answer:

#include <iostream>

using namespace std; int main()

{    int num1=15 ,num2=5, sum;  

 sum = num1 + num2;  

 cout<<"Sum of "<<num1<<" and "<<num2<<" is "<<sum;    return 0; }

Similar questions