Answer to Question #49345 in C++ for aditya
Question #49345
int a=2, b=5, c;
c=a+......b;
cout<<c;
c=a+......b;
cout<<c;
Expert's answer
#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;
}
#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 orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment