(Solved Homework): 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 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

Don't use plagiarized sources. Get Your Custom Essay on
(Solved Homework): 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…
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!

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; }

Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
\$0.00

How it works?

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

Proceed with the payment

Choose the payment system that suits you most.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.