Answered Essay: You are to create a program that you use for keeping track of textbooks required and recommended for classes and the cost of those textbooks. All

You are to create a program that you use for keeping track of textbooks required and recommended for classes and the cost of those textbooks. All input will be taken from standard input. Each line of input will begin with a single or double character code that identifies the type of operation that line describes. The possible line formats are Command B <ISBN> <Title> Explanation Define a book. The ISBN is a 13-digit number. The Title is a string of arbitrary length (ending with a line break). (Note that you favorite integer data type may not big enough for 13-digit numbers. In that case, it is OK to use a C++ std:string instead to store this number B 1234567890123 Programming for Programmers Example Command | D <1SBN><A I E I D> <value> Explanation Define a characteristic of a book (for the book with the given ISBN. If A is used, then the Author is set, and the value is name of the author (string of arbitrary length, ending with end of line). If E is used, the value is the number of the edition (a positive integer). If D is used, it is the date of publication, where the date is in MM/YYYY format no da Example D 1234567890123 D 01/2017 Command M <ISBN> <Cost> <N I UI R IE> Explanation Define the cost for a book. ISBN is the ISBN number; Cost is an amount, expressed as a floating-point number with 2 spaces after the decimal point. The final letter indicates whether the price is for a New, Used, Rented, or Electronic version of the book. A book may have a different price for each format M 1234567890123 39.99N Example Command C <Department Code> <Course Number> <Name> Explanation Define a course. The Department Code is a 4-letter code for a department. The course number is a 3-digit number for the course. The name is a name for the course - a string of arbitrary length, ended by the end of the line C CSCE 315 Programming Studio Example Command A <ISBN> <Department Code> <Course Number> <Section Number> Explanation Assign a book to a class. The ISBN is the ISBN number for the book. The Department Code and Course number are as in the definition of a course. The section number is a 3 digit integer. The final digit is either R for required or O for optional A 1234567890123 CSCE 315 501 R Example

You are to create a program that you use for keeping track of textbooks required and recommended for classes and the cost of those textbooks. All input will be taken from standard input. Each line of input will begin with a single or double character code that identifies the type of operation that line describes. The possible line formats are Command B Explanation Define a book. The ISBN is a 13-digit number. The Title is a string of arbitrary length (ending with a line break). (Note that you favorite integer data type may not big enough for 13-digit numbers. In that case, it is OK to use a C++ std:string instead to store this number B 1234567890123 Programming for Programmers Example Command | D Explanation Define a characteristic of a book (for the book with the given ISBN. If ‘A’ is used, then the Author is set, and the value is name of the author (string of arbitrary length, ending with end of line). If ‘E’ is used, the value is the number of the edition (a positive integer). If D is used, it is the date of publication, where the date is in MM/YYYY format no da Example D 1234567890123 D 01/2017 Command M Explanation Define the cost for a book. ISBN is the ISBN number; Cost is an amount, expressed as a floating-point number with 2 spaces after the decimal point. The final letter indicates whether the price is for a New, Used, Rented, or Electronic version of the book. A book may have a different price for each format M 1234567890123 39.99N Example Command C Explanation Define a course. The Department Code is a 4-letter code for a department. The course number is a 3-digit number for the course. The name is a name for the course – a string of arbitrary length, ended by the end of the line C CSCE 315 Programming Studio Example Command A Explanation Assign a book to a class. The ISBN is the ISBN number for the book. The Department Code and Course number are as in the definition of a course. The section number is a 3 digit integer. The final digit is either R for required or O for optional A 1234567890123 CSCE 315 501 R Example

Expert Answer

 

you may also download my code from…….http://www.2shared.com/file/B0MBrK-d/GRADE.html*/ #include using namespace std; int main() { int minPoint[5] = {0, 300, 350, 400, 450}; char grade[5] = {‘F’, ‘D’, ‘C’, ‘B’, ‘A’}; int total = 0; cout << “Enter the total amount of points earned(-1 to stop): “; cin >> total; while (total != -1) { if (total >= 450) cout << “Grade is ” << grade[4] << endl; else if (total >= 0 && total < 450) { for (int x = 0; x <= 3; x += 1) { if (total >= minPoint[x] && total<< “Grade is ” << grade[x] << endl; break; } } } else cout << “Test score invalid” << endl; cout << “Enter the total amount of points earned(-1 to stop); ” ; cin >> total; } return 0; }

Buy Essay
Calculate your paper price
Pages (550 words)
Approximate price: -

Help Me Write My Essay - Reasons:

Best Online Essay Writing Service

We strive to give our customers the best online essay writing experience. We Make sure essays are submitted on time and all the instructions are followed.

Our Writers are Experienced and Professional

Our essay writing service is founded on professional writers who are on stand by to help you any time.

Free Revision Fo all Essays

Sometimes you may require our writers to add on a point to make your essay as customised as possible, we will give you unlimited times to do this. And we will do it for free.

Timely Essay(s)

We understand the frustrations that comes with late essays and our writers are extra careful to not violate this term. Our support team is always engauging our writers to help you have your essay ahead of time.

Customised Essays &100% Confidential

Our Online writing Service has zero torelance for plagiarised papers. We have plagiarism checking tool that generate plagiarism reports just to make sure you are satisfied.

24/7 Customer Support

Our agents are ready to help you around the clock. Please feel free to reach out and enquire about anything.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

HOW OUR ONLINE ESSAY WRITING SERVICE WORKS

Let us write that nagging essay.

STEP 1

Submit Your Essay/Homework Instructions

By clicking on the "PLACE ORDER" button, tell us your requires. Be precise for an accurate customised essay. You may also upload any reading materials where applicable.

STEP 2

Pick A & Writer

Our ordering form will provide you with a list of writers and their feedbacks. At step 2, its time select a writer. Our online agents are on stand by to help you just in case.

STEP 3

Editing (OUR PART)

At this stage, our editor will go through your essay and make sure your writer did meet all the instructions.

STEP 4

Receive your Paper

After Editing, your paper will be sent to you via email.

× How can I help you?