Question: C++ Code Exercise A: Write a program that keeps track of a speaker's bureau. The program should use a structure to store the following data

C++ Code

Exercise A:

Write a program that keeps track of a speaker's bureau. The program should use a structure to store the following data about a speaker:

Name

Telephone Number (string)

Speaking Topic

Fee Required (double)

The program should use an array of at least 3 structures. It should let the user enter data into the array and display all the data stored in the array.

Expected output:

Enter all the information for Total 3 Speakers.

Enter all the details about Speaker # 1

Name: first person Telephone number: 123456 Topic: C++ Fee: 25

Enter all the details about Speaker # 2 Name: Second person Telephone number: 2468012 Topic: java Fee: 50.5

Enter all the details about Speaker # 3 Name: Third Person Telephone number: 1357912 Topic: Data Structure Fee: 99.99

After getting all the information from the user ask the user (show this menu)

1. Want to write all these information to a text file then display it from the file?

2. Want to display it to the console without writing it to the text file?

On the basis of user input (1 or 2) display it to the console.

Choice One:

Use a text file to input and output information for ALL 3 speakers.

Choice Two: (it should display like this)

Here is all the information about 3 Speakers! Speaker name: first person Telephone: 123456 Speaking Topic: C++ Required Fee: $25.00

Speaker name: Second person Telephone: 2468012 Speaking Topic: java Required Fee: $50.50

Speaker name: Third Person Telephone: 1357912 Speaking Topic: Data Structure Required Fee: $99.99

Press any key to continue . . .

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!