68 240
Assignments Done
99%
Successfully Done
In November 2018

Answer to Question #34130 in C++ for mandeep

Question #34130
wite a program that genrates the 5,10,9 assign value 5 to a variable using=.multiphy it with 2 to genrate 10 and subtract 1 to genrate 9
Expert's answer
#include<iostream>
usingnamespace std;
intmain () {
int a = 5;
cout << a << ",";
a *= 2;
cout << a << ",";
a -= 1;
cout << a << endl;
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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions