Write a C++ program to accept two integers and print their sum.
Answers
Answered by
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
History,
20 days ago
Math,
1 month ago
Math,
1 month ago
Social Sciences,
9 months ago
Science,
9 months ago
Computer Science,
9 months ago