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

Another question on Mathematics

question
Mathematics, 21.06.2019 12:40
The graph below shows the amount of money left in the school’s desk fund, f, after d desks have been purchased. for each new desk that is purchased, by how much does the amount of money left in the school’s desk fund decrease?
Answers: 1
question
Mathematics, 21.06.2019 13:00
Add 1/7 + -1/7 your answer should be reduced to its smallest form and should not be an improper fraction
Answers: 1
question
Mathematics, 21.06.2019 16:30
Problem melissa is her dad build a walkway in their backyard. the walkway will be 54 feet long and 1.5 feet wide. the local hardware store sells tiles which are 1.5 by 1.5 feet and come in boxes of 12. how many boxes of tiles do they need?
Answers: 1
question
Mathematics, 21.06.2019 17:30
Two customers went to a post office. first customer paid $12 for 14 and 5 envelopes the second paid 24.80 for 10 postcards and 15 envelopes. what is cost of each envelope?
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
question
Mathematics, 30.05.2020 22:02
question
Mathematics, 30.05.2020 22:02
Questions on the website: 13722363