1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
marysya [2.9K]
3 years ago
7

Write a program. Submit a file named height.c Amusement parks have minimum heights for their rides. Create a program that adds u

sers 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.
Engineering
1 answer:
Natasha_Volkova [10]3 years ago
8 0

Answer:

you ok

Explanation:

try it

You might be interested in
Convert the improper fraction to a mixed number
Yuliya22 [10]

Answer:

18. 24/8 = 3

19. 50/12 = 4 and one-sixth

20. 18/16 = 1 and one-eighth

Explanation: I’m good at math

4 0
3 years ago
Read 2 more answers
CO is the abbreviation for
garri49 [273]

Answer:

CO is usually the abbreviation for company

Explanation:

8 0
3 years ago
Read 2 more answers
An automobile has a mass of 1200 kg. What is its kinetic energy, in ki, relative to the road when traveling at a velocity of 50
netineya [11]

Answer:

a)Ek=115759.26J

b)23.15kW

Explanation:

kinetic energy(Ek) is understood as that energy that has a body with mass when it travels with a certain speed, it is calculated by the following equation

Ek=0.5mv^{2}

for the first part

m=1200Kg

V=50km/h=13.89m/s

solving for Ek

Ek=0.5(1200)(13.89)^2

Ek=115759.26J

For the second part of the problem we calculate the kinetic energy, using the same formula, then in order to find the energy change we find the difference between the two, finally divide over time (15s) to find the power.

m=1200kg

V=100km/h=27.78m/s

Ek=0.5(1200)(27.78)^2=462963J\\

taking into account all of the above the following equation is inferred

ΔE=\frac{Ek2-EK1}{T}=\frac{462963-115759.26}{15}  =23146.916W=23.15kW

3 0
3 years ago
A 1 m wide continuous footing is designed to support an axial column load of 250 kN per meter of wall length. The footing is pla
creativ13 [48]

Answer:

correct option is (A) 0.5

Explanation:

given data

axial column load = 250 kN per meter

footing placed =  0.5 m

cohesion = 25 kPa

internal friction angle =  5°

solution

we know angle of internal friction is 5° that is near to 0°

so it means the soil is almost cohesive soil.

and for  a pure cohesive soil

N_{\gamma } = 0

and we know formula for N_{\gamma } is

N_{\gamma } = (Nq - 1 ) × tan(Ф)   ..................1

so here Ф is very less  N_{\gamma } should be nearest to zero

and its value can be 0.5

so correct option is (A) 0.5

7 0
4 years ago
1) When you invest in stock, what are you doing?
statuscvo [17]

<u>Explanation:</u>

1) When we invest in stock it means we are investing in long term investment. It includes risk factor also.

2) We can make money from stocks by retaining them for a long period and selling them when their price rises.

3) dividends are paid out of distributable profits. Some companies provide dividends regularly which act as a regular source of income for investors.

4) Capital gain is the benefit obtained on selling a capital asset and if we face loss on selling the capital asset it results in capital loss. Capital assets are like stock, bonds, properties, etc.

7 0
4 years ago
Other questions:
  • Design a 10-to-4 encoder with inputs in the l-out-of-10 code and outputs in a code like normal BCD except that input lines 8 and
    8·1 answer
  • Chemical resistant aprons for use while working around pesticides should.? A. Be made of solvent resistant leather B. Cover the
    6·1 answer
  • ferry boat steamed along at 8 mph through calm seas, passenger casey exercised by walking the perimeter of the rectangular deck,
    11·1 answer
  • The pilot of an airplane reads the altitude 6400 m and the absolute pressure 45 kPa when flying over the city. Calculate the loc
    10·1 answer
  • Hãy trình bày sự hiểu biết của bạn về đo dòng điện
    9·1 answer
  • Best known for his invention of the pressure-ignited heat engine that bears his name,
    5·1 answer
  • Navaanselma17 hhhhhhhhh
    15·2 answers
  • What is the correct order of the different environments from coldest to hottest?
    12·2 answers
  • A steel wire is suspended vertically from its upper end. The wire is 400 ft long and has a diameter of 3/16 in. The unit weight
    13·1 answer
  • What is the likely difference between urban planning for a very old city and urban planning for a new community built very recen
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!