subject
Mathematics, 12.07.2019 15:00 leothedrifter

Write programs with loops that compute a. the sum of all even numbers between 2 and 100 (inclusive). b. the sum of all squares between 1 and 100 (inclusive). c. all powers of 2 from 20 up to 220. d. the sum of all odd numbers between a and b (inclusive), where a and b are user inputs. e. the sum of all odd digits of an input. (for example, if the input is 32677, the sum would be 3 + 7 + 7 = 17.)

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 20:00, lexhoangg
Frank owns a $141,000 home, for which he has a 30-year mortgage in the amount of $700 a month. once he has paid off mortgage, how much will he have paid in investment? a. $111,000 b. $109,000 c. $120,000 d. $141,000
Answers: 1
image
Mathematics, 21.06.2019 20:00, Queenashley3232
Combine like terms to make a simpler expression 3z+z
Answers: 2
image
Mathematics, 21.06.2019 20:30, yeetmaster7688
Find the value of x for which line a is parallel to line b
Answers: 1
image
Mathematics, 21.06.2019 21:00, angelaguero536
In the field of thermodynamics, rankine is the unit used to measure temperature. one can convert temperature from celsius into rankine using the formula , what is the temperature in celsius corresponding to r degrees rankine? a. 9/5(c - 273) b. 9/5(c + 273) c. 5/9( c - 273) d. 5/9( c + 273)
Answers: 1
You know the right answer?
Write programs with loops that compute a. the sum of all even numbers between 2 and 100 (inclusive)....

Questions in other subjects:

Konu
Chemistry, 30.06.2019 12:50