Write a Program in C++ to add two numbers

#include <iostream>

using namespace std;

int main()
{
    cout<<"Add 48 and 50:\n";
    cout<<"Addition is ";
    cout<<48+50;

    return 0;
}

Output:

Add 48 and 50:
Addition is 98
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments