subject
Engineering, 25.10.2019 19:43 kingnatsu8638

Write a program that uses while loops to perform the following steps: - prompt the user to input two integers: firstnum and secondnum (firstnum must be less than secondnum). - output all odd numbers between firstnum and secondnum. - output the sum of all even numbers between firstnum and secondnum. - output the numbers and their squares between 1 and 10. - output the sum of the square of the odd numbers between firstnum and secondnum

ansver
Answers: 1

Another question on Engineering

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:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 18:20
Most leaks in reciprocating air compressors can be detected and minimized by: (clo4) a)-detecting leakage areas using ultrasonic acoustic detector. b)-tightening joints and connections c)-replacing faulty equipment d)-all of the given options
Answers: 2
question
Engineering, 04.07.2019 18:20
Acertain flow of air (at stp) has a velocity distribution given by v i (in ft/s). if this flow is going through a 4 ft square area in the yz-plane (centered at the origin), what is the mass flow rate (in lbm/s)?
Answers: 2
You know the right answer?
Write a program that uses while loops to perform the following steps: - prompt the user to input tw...
Questions
question
Mathematics, 04.02.2020 03:05
question
History, 04.02.2020 03:05
question
Mathematics, 04.02.2020 03:05
Questions on the website: 13722367