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 15:30
What is the solution of sqrt x+2-15=-3
Answers: 2
question
Mathematics, 21.06.2019 18:30
How far could you drive on 50 gallons of gas
Answers: 2
question
Mathematics, 21.06.2019 21:30
Anumber cube is rolled two times in a row. find the probability it will land on 2 on the first roll and a number greater then 4 on the second roll
Answers: 1
question
Mathematics, 21.06.2019 22:00
Set $r$ is a set of rectangles such that (1) only the grid points shown here are used as vertices, (2) all sides are vertical or horizontal and (3) no two rectangles in the set are congruent. if $r$ contains the maximum possible number of rectangles given these conditions, what fraction of the rectangles in set $r$ are squares? express your answer as a common fraction.
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
Biology, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Biology, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Geography, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
question
Mathematics, 13.09.2020 17:01
Questions on the website: 13722360