Question: Write this program in C++. Then modify it by utilizing at least 1 function and a minium of 1 array or vector. This is what
A penthouse that has a 25-story building, with a standard elevator that holds a capacity weight of 2,500lbs, is throwing a party. Friends, family, D.J, servers, caters and band will be there. They are taking the elevator to the 25th floor. Write a program in C++ that will determine if the elevator ca support the weight of guests. Apply skills such as: develop, compile, and edit. The program needs to calculates the current weight in the occupied elevator. Compares the current weight with the maxium weight allowed, and then prints an output stating either "Let's go" or "This elevayor is too heavy by X Ibs. C++ CODE: #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
