Answer to Question #49345 in C++ for aditya

Question #49345
int a=2, b=5, c;
c=a+......b;
cout<<c;
1
Expert's answer
2014-11-25T01:22:27-0500
#include <iostream>
#include <stdlib.h>
using namespace std;
int main() {
int a=2;
int b=5;
int c;
c=a+b;
cout << "------------------\n";
cout << "c= a+b = "<<c;
cout << "------------------\n";
return 0;
}


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 the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS