subject
Engineering, 03.12.2019 05:31 410zae

Agame rolls a die 10 times and counts how many times the number 5 or 6 shows up.

(a) if there are a total of seven or more times, the win is 2 dollars.
(b) a total of four or more times but less than seven, the win is 1 dollars.
(c) a total of three or less, the win is 0 dollars.

write a function called payout that has an input row array of 10 integers representing the ten rolls of dice, and calculates the pay out.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
Answers: 3
You know the right answer?
Agame rolls a die 10 times and counts how many times the number 5 or 6 shows up.

(a) if...
Questions
question
Biology, 17.03.2020 04:08
question
History, 17.03.2020 04:08
question
World Languages, 17.03.2020 04:08
Questions on the website: 13722360