First, read in an input value for variable inputCount. Then, read inputCount integers from input and output each integer on a newline followed by the string "people."
Ex: If the input is 3 35 70 20, the output is:
35 people
70 people
20 people
#include <iostream>
using namespace std;
int main() {
int inputCount;
cin >> inputCount;
int input;
for(int i = 0; i < inputCount; i++) {
cin >> input;
cout << input << " people" << endl;
}
return 0;
}