Program Input:-
#include <iostream>
#include <ctime>
#include <cstdlib>
using namespace std;
int main () { // Start Main
Function
int Number1; // First Integer to
Add
int Number2; // Secong Integer to
Add
int Sum; // Add Sum of
Integer one And Number two
cout << " Enter First Number" << endl;
cin >> Number1;
cout << "Enter Second Numbre"<<endl;
cin >> Number2;
Sum = Number1 + Number2; // Add
the number And store sum
cout << "Sum is "
<< Sum << endl;
} // End Main Function
OutPut:-
No comments:
Post a Comment