Question: Generate an algorithm for C + + . The program must have an ask the person how many people there must be minium of 1

Generate an algorithm for C++. The program must have an ask the person how many people there must be minium of 1 and maximum of 6. The program must have 5 inputs which would be buttons and an idicator led each. the porgram must then randomly generate 5 ouputs represented by an led through a relay. The same output can't go off twice and 2 side by side outputs cant go off after each other. SO in other words, if led 1 goes off on click one and led 2 goes off on click 2, led 1 cant go off on click 3 and nor can led 2. each button preprestents a person and they move along after each button press. So if i press button one, i wait until the other 5 have been pressed by the other people. I then move to button 2 and person number 5 moves to button number 1. the program must be able to redo a button press if the led misfires. before moving on to the next this must have a physical reset button. I need a list of compnets used in the project and if a boolean expression is applicable. this program, each person must exprience 25 randomized outputs. before end of round is called.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!