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
Science,
2 days ago
English,
2 days ago
Math,
5 days ago
Math,
5 days ago
Social Sciences,
8 months ago
Science,
8 months ago
Computer Science,
8 months ago