Write a program that runs through a random list of people aged 18-45. specific instructions must be

Write a program that runs through a random list of people aged 18-45. specific instructions must be shared with certain patrons. if they 18 tell them they are eligible to vote, 21 they are eligible to drink, 25 they are eligible to rent a car any other ages express that they are an adult. complete the following: a. develop the random range of agesb. output statements the execute when each condition is met#include using namespace std; int main(){srand(time(0)); int age =0; ; //generates random ages of patronreturn 0; }

Related Posts

This Post Has 4 Comments

  1. Assuming that you’re using the desktop app: 1. open the discord app.2. click “connections” in the menu to the left.3. click “spotify.”4. a web page will open to connect. if you’re not already logged into spotify, it will ask you to log in.5. click “okay” to confirm.

Leave a Reply

Your email address will not be published. Required fields are marked *