subject
Engineering, 18.11.2019 22:31 mitchellmarquite

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

ansver
Answers: 3

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 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
You know the right answer?
Write a program that uses while loops to perform the following steps: step a: prompt the user to i...
Questions
question
Mathematics, 25.11.2021 14:00
question
Mathematics, 25.11.2021 14:00
Questions on the website: 13722359