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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, jadeochoa4466
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
image
Engineering, 04.07.2019 18:10, DestyHilBan1183
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
image
Engineering, 04.07.2019 18:10, agpraga23ovv65c
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
image
Engineering, 04.07.2019 18:10, demarcuswiseman
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
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 in other subjects:

Konu
English, 14.01.2021 16:30