subject
Engineering, 27.11.2019 21:31 PatrickHB

Write a while loop that prints usernum divided by 4 (integer division) until reaching 2. follow each number by a space. example output for usernum-160 40 10 2 note: these activities may test code with different test values. this activity will perform four tests, with usernum 160, then with usernum-8, then with usernum 0, then with usernum-1. see "how to use zybooks also note: if the submitted code has an infinite loop, the system will stop running the code after a few seconds, and report programend never reached. the system doesn't print the test case that caused the reported message.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
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
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
You know the right answer?
Write a while loop that prints usernum divided by 4 (integer division) until reaching 2. follow each...
Questions
question
Mathematics, 01.07.2019 04:40
question
English, 01.07.2019 04:40
question
Biology, 01.07.2019 04:40
question
Mathematics, 01.07.2019 04:40
question
Mathematics, 01.07.2019 04:40
question
Mathematics, 01.07.2019 04:40
Questions on the website: 13722361