Question
Please test it on these inputs: B 1234567890123 Programming for Pros B 1234567890124 Programming for Dummies B 1234567890125 Programming for Pets D 1234567890123 D 02/2017
Please test it on these inputs:
B 1234567890123 Programming for Pros B 1234567890124 Programming for Dummies B 1234567890125 Programming for Pets D 1234567890123 D 02/2017 D 1234567890123 A King of Stupid D 1234567890123 E 5 D 1234567890124 D 05/2017 D 1234567890124 A Ray D 1234567890124 E 2 D 1234567890125 D 03/2017 D 1234567890125 A James D 1234567890125 E 3 M 1234567890123 1 N M 1234567890123 1 U M 1234567890123 1 R M 1234567890123 1 E M 1234567890124 1 N M 1234567890124 1 U M 1234567890124 1 E M 1234567890124 1 R M 1234567890125 1 N M 1234567890125 1 U M 1234567890125 1 R M 1234567890125 1 E C ECEC 215 Programming Studio C ECEC 111 Unix Testing A 1234567890123 ECEC 215 501 R A 1234567890123 ECEC 215 502 R A 1234567890123 ECEC 215 503 R A 1234567890124 ECEC 213 604 R A 1234567890124 ECEC 213 607 R A 1234567890124 ECEC 213 603 R A 1234567890125 ECEC 215 501 R A 1234567890125 ECEC 215 502 R A 1234567890125 ECEC 215 503 R GC ECEC 215 GS ECEC 215 504 GC ECEC 111 GS ECEC 111 605 GB 1234567890123 GB 1234567890124 GB 1234567890125 PB PC PY 02/2017 PY 05/2017 PD ECEC PM ECEC
You are to create a program that can be used 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: BStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started