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 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
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
question
Engineering, 04.07.2019 18:20
What is the heat treatment of metals? what is the benefit of it? why and how it's useful? answer in details, do not write by hand.
Answers: 3
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, 02.11.2020 23:20
question
Mathematics, 02.11.2020 23:20
question
Mathematics, 02.11.2020 23:20
question
Physics, 02.11.2020 23:20
question
Computers and Technology, 02.11.2020 23:20
question
Mathematics, 02.11.2020 23:20