When a button is pressed, a computer program outputs a random even number greater than 0 less than 8. You press the button 4 times.

Can some help me with this?

Respuesta :

Answer:

Well all even numbers between 0 and 8 are,

2, 4, 6, 8

Meaning if the button is pressed 4 times 2, 4, 6, or 8 will be outputted.

When press button 4 times. Then output of the program will be,  [tex](2,4,6,2)[/tex]

Even number:

Any number that can be exactly divided by 2 is called as an even number.

Given that, When a button is pressed, a computer program outputs a random even number greater than 0 less than 8.

Even numbers greater than 0 less than 8 are,

                             [tex]=2,4,6[/tex]

When press button 4 times. Then output of the program will be,

                     [tex]=(2,4,6,2)[/tex]

Learn more about the even numbers here:

https://brainly.com/question/581879