subject
Engineering, 18.12.2019 00:31 mjakabeast24

The mips program will prompt the user to enter an integer k between 1 and 10. if the entered k is out of range just have the program exit. depending on the k value implement the following cases: case 1: if 1 < = k < 5 have n (n> = 0) be prompted from the user. compute func(n): if (n = 0 or n = 1) then func(n) = 20 else func(n) = 5*func(n-2) + n; display a result_message together with the numeric value of the result. repeat (meaning prompt the user for n) case 2: if 5 < = k < = 10 display a joke.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
For the closed feedwater heater below, feedwater enters state 3 at a pressure of 2000 psia and temperature of 420 °f at a rate of ix10 ibhr. the feedwat extracted steam enters state 1 at a pressure of 1000 psia and enthalpy of 1500 btu/lbm. the extracted er leaves at an enthalpy of 528.7 btu/lbm steam leaves as a saturated liquid. (16) a) determine the mass flow rate of the extraction steam used to heat the feedwater (10) b) determine the terminal temperature difference of the closed feedwater heater
Answers: 3
question
Engineering, 04.07.2019 18:10
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
question
Engineering, 04.07.2019 18:20
Asimple rankine cycle uses water as the working fluid. the water enters the turbine at 10 mpa and 480c while the condenser operates at 6 kpa. if the turbine has an isentropic efficiency of 80 percent while the pump has an isentropic efficiency of 70 percent determine the thermal efficiency
Answers: 1
You know the right answer?
The mips program will prompt the user to enter an integer k between 1 and 10. if the entered k is ou...
Questions
question
Mathematics, 10.09.2021 01:00
question
Spanish, 10.09.2021 01:00
question
Mathematics, 10.09.2021 01:00
question
Mathematics, 10.09.2021 01:00
question
Chemistry, 10.09.2021 01:00
question
Mathematics, 10.09.2021 01:00
Questions on the website: 13722360