subject
Engineering, 11.10.2020 23:01 parmer6527p810bw

Write a program. Submit a file named height. c Amusement parks have minimum heights for their rides. Create a program that adds users to the line of a ride in an amusement park if they meet the minimum height requirement (given in inches) . Create three classes: o An amusement park class o A ride class o Arider class (people riding the rides) It should work with the following main (DO NOT MODIFY-NO CREDIT IF YOU MODIFY): int mainO Rider r1(Yaris", 45); //name, height in inches Rider r2(49)://height in inches Amusement park a1(3); //3 is the number of rides in the amusement park a1.get ride(1).add_line(r1); //add a rider to the line of a ride Amusement park a2(2); //2 is the number of rides in the amusement park a2.get ride(1).add line(r2); //add a rider to the line of a ride return 0; Possible Sample Run 1 (vour program does not have to match the following exactlv, but ~~~Amusement Park into~~~ Ride 1- Enter minimum ride height and ride name: 40 ride1 Ride 2- Enter minimum ride height and ride name 50 ride2 Ride 3- Enter minimum ride height and ride name 60 ride3 Adding rider to line Amusement Park Info Ride 1- Enter minimum ride height and ride name: 75 ride1 Ride 2- Enter minimum ride height and ride name: 76 ride2 Sorry can't add rider-too short.

ansver
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, viicborella
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
image
Engineering, 04.07.2019 18:10, caitlynnpatton1208
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
image
Engineering, 04.07.2019 18:20, krojas015
Asolid cylinder is concentric with a straight pipe. the cylinder is 0.5 m long and has an outside diameter of 8 cm. the pipe has an inside diameter of 8.5 cm. the annulus between the cylinder ad the pipe contains stationary oil. the oil has a specific gravity of 0.92 and a kinematic viscosity of 5.57 x 10-4 m2/s. most nearly, what is the force needed to move the cylinder along the pipe at a constant velocity of 1 m/s?
Answers: 3
image
Engineering, 04.07.2019 18:20, xcapo1x
Refrigerant-134a enters the compressor of a refrigerator as superheated vapor at 0.14 mpa and -10°c at a rate of 0.05 ka/s and leaves at 0.8 mpa and 50°c. the refrigerant is cooied in the condenser to 0.72 mpa and 26'c. it is then throttled to 0.15 mpa. sketch the t-s diagram for the system and evaluate: 6) the rate of heat removai from the refrigerated space (kw), it) the power input to the compressor (kw), ii) the isentropic efficiency of the compressor (%), and iv) the cop of the refrigerator.
Answers: 2
You know the right answer?
Write a program. Submit a file named height. c Amusement parks have minimum heights for their rides....

Questions in other subjects: