Question: I need help with number 18 and 19 please! 18.(10) You are to determine which of the experimental rocket went the highest. Write the code
18.(10) You are to determine which of the experimental rocket went the highest. Write the code to read in the first rocket's height (in feet) and read in the second rocket's height (in yards) and print out the rocket (Rocket One or Rocket Two) that went the highest. (3 ft in a yard). This will not be a complete pgm, just the code to do the above. 19.(15) I want to determine if boxl will fit inside of box2. Write the code to determine if boxl will fit into box2 given the following. Knowing the volume will not work. cin >> h1 >>wl >> dl; // height width & depth for box 1 cin >> h2 >> W2 >> d2; // height width & depth for box 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
