Answer to Question #99412 in C++ for Caleb

Question #99412
Write a statement that increases numPeople by 5. Ex: If numPeople is initially 10, the output is: There are 15 people.
1
Expert's answer
2019-12-10T13:23:01-0500
int numPeople=10;
numPeople += 15;
std::cout << "There are " << numPeople << "people." << std::endl;

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
New on Blog
APPROVED BY CLIENTS