subject
Mathematics, 15.10.2019 01:30 gabbypittman20

Given four positive integers a, b, c, and d, compute the sum of those among them that are odd. hint: because you have not yet learned how to make decisions, use the fact that for a positive integer n, the expression n % 2 is either 0 or 1. you can multiply the integer n by (n % 2) to yield either zero (for even numbers) or n (for odd).

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 19:30
Which statements are true? check all that apply. the line x = 0 is perpendicular to the line y = –3. all lines that are parallel to the y-axis are vertical lines. all lines that are perpendicular to the x-axis have a slope of 0. the equation of the line parallel to the x-axis that passes through the point (2, –6) is x = 2. the equation of the line perpendicular to the y-axis that passes through the point (–5, 1) is y = 1.
Answers: 1
question
Mathematics, 21.06.2019 21:50
Prism m and pyramid n have the same base area and the same height. cylinder p and prism q have the same height and the same base perimeter. cone z has the same base area as cylinder y, but its height is three times the height of cylinder y. the figures and have the same volume.
Answers: 3
question
Mathematics, 21.06.2019 21:50
The value of the expression 16-^3/4 8 1/8 -6 6 1/40 1/64
Answers: 1
question
Mathematics, 21.06.2019 22:30
Which set of lengths could represent the sides of a triangle? a. 3, 7, 10 b. 4, 5, 10 c. 6, 8, 14 d. 12, 6, 7
Answers: 1
You know the right answer?
Given four positive integers a, b, c, and d, compute the sum of those among them that are odd. hint:...
Questions
question
Mathematics, 15.04.2021 22:40
question
Computers and Technology, 15.04.2021 22:40
question
Mathematics, 15.04.2021 22:40
question
History, 15.04.2021 22:40
Questions on the website: 13722363