67 069
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #12876 in C++ for John Kennedy Robles

Question #12876
C++ progam that will calculate and display the sum of 2 numbers
Expert's answer
#include <iostream.h>

int a, b;

void main(){
cout<<"Enter the first number: ";
cin>>a;
cout<<"Enter the second number: ";
cin>>b;
cout<<"a+b = "<<a+b<<"\n";
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions