Write a statement that increases numPeople by 5. Ex: If numPeople is initially 10, the output is: There are 15 people.
Expert's answer
#include<iostream>intincFive(int nP){
return nP += 5;
}
intmain(){
int numPeople;
std::cout << "Please enter the number of people : ";
std::cin >> numPeople;
std::cout << "There are " << incFive(numPeople) << " people.\n";
}
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!