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 18:10
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
question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
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
Chemistry, 24.09.2019 10:30
question
Mathematics, 24.09.2019 10:30
question
Mathematics, 24.09.2019 10:30
Questions on the website: 13722360