subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
Report all segments of identity by descent longer than 20 polymorphisms between pairs of individuals in the following cohort of 15 individuals across 49 polymorphisms: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 numeric input 2 points possible (graded) you have 2 attempts to complete the assignment below. for example if the sequence is "bcd", which occurs in "abcdef" , the starting point would be 2 (b), and the finishing point would be 4(d). individuals 7,10 between positions
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
The output voltage of a power supply is assumed to be normally distributed. sixteen observations are taken at random on voltage are as follows: 10.35, 9.30, 10.00, 9.96, 11.65, 12.00, 11.25, 9.58, 11.54, 9.95, 10.28, 8.37, 10.44, 9.25, 9.38, and 10.85
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Selective is defined as paying attention to messages that are consistent with one’s attitudes and beliefs and ignoring messages that are inconsistent.
Answers: 1
You know the right answer?
Write a program that uses while loops to perform the following steps: a) Prompt the user to input t...
Questions
question
Biology, 09.11.2020 19:50
question
Mathematics, 09.11.2020 19:50
question
Mathematics, 09.11.2020 19:50
question
History, 09.11.2020 19:50
question
English, 09.11.2020 19:50
question
Mathematics, 09.11.2020 19:50
question
Mathematics, 09.11.2020 19:50
Questions on the website: 13722360