Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

answer please (c++) Q #inculude #include #include using namespace std; 1. Your favorite artist is in concert in Charlotte this weekend. The local radio station

image text in transcribed

answer please (c++) Q

#inculude

#include

#include

using namespace std;

1. Your favorite artist is in concert in Charlotte this weekend. The local radio station is giving away tickets. 4 billion entries have been made but there are only 18,768 seats in the PNC Music Pavilion, but you won! You have some choice in the seat you get at the concert. There are seats in rows 22-58 available with 250 seats per row. Write a program that: Asks for the users name Asks you for the name of your favorite artist and outputs it Calculates and outputs the chance you had at winning if the radio station bought every seat Use a random number generator to determine where your seat might be located (row and seat number). Output a final statement that tells the user who they will be going to see and what seat they will be in 1. Your favorite artist is in concert in Charlotte this weekend. The local radio station is giving away tickets. 4 billion entries have been made but there are only 18,768 seats in the PNC Music Pavilion, but you won! You have some choice in the seat you get at the concert. There are seats in rows 22-58 available with 250 seats per row. Write a program that: Asks for the users name Asks you for the name of your favorite artist and outputs it Calculates and outputs the chance you had at winning if the radio station bought every seat Use a random number generator to determine where your seat might be located (row and seat number). Output a final statement that tells the user who they will be going to see and what seat they will be in

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago