Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

C++ Code

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.

Create function(s) for the menu choices (1 and 2) and use pointers wherever possible.

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

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_2

Step: 3

blur-text-image_3

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

Give an application for a replicated database.

Answered: 1 week ago

Question

3.What are the Importance / Role of Bank in Business?

Answered: 1 week ago

Question

2. Discuss various aspects of the training design process.

Answered: 1 week ago