INPUT& OUTPUT
#include<iostream>
using namespace std;
int main(){
int num1;
int num2;
cout<<"Enter the value of num1 = \n";
cin>>num1;
cout<<"Enter the value of num2 = \n";
cin>>num2;
cout<<"The total of both num1 & num 2 is = "<<num1+num2;
return 0;
}
Comments
Post a Comment