Page 1 of 1

CHALLENGE ACTIVITY 3.4.3: Working with branches. 4011362649320 g H Jump to level 1 Given integer variables numPeople and

Posted: Tue Jul 05, 2022 10:27 am
by answerhappygod
Challenge Activity 3 4 3 Working With Branches 4011362649320 G H Jump To Level 1 Given Integer Variables Numpeople And 1
Challenge Activity 3 4 3 Working With Branches 4011362649320 G H Jump To Level 1 Given Integer Variables Numpeople And 1 (40.97 KiB) Viewed 10 times
CHALLENGE ACTIVITY 3.4.3: Working with branches. 4011362649320 g H Jump to level 1 Given integer variables numPeople and roomCapacity, if numPeople is 100 or less, then subtract 100 from roomCapacity. Ex: If the input is 100 350, then output is: 250 1 #include <iostream> 2 using namespace std; 3 4 int main() { 5 int numPeople; 6 7 8 9 10 11 12 13 14 15 int roomCapacity; cin >> numPeople; cin >> roomCapacity; cout << roomCapacity << endl; 1 2 4 Feedback? >-D D D+ L