Milt Walker, the chief of advertising for the Isabella Potato Industry, wants you to write a program to compute an itemized bill and total costs of his "This Spud's for You!" ad campaign. The standard black and white full-page ads have base prices as follows:
Drillers' News (code N) $ 400
Playperson (code P) $2000
Outdoors (code O) $ 900
Independent News (code I) $1200
Each ad is allowed 15 lines of print with a rate of $20.00 for each line in excess of 15 lines. Each ad is either black and white (code B) and subject to the base prices, or is in color (code C) and subject to the following rates:
Three color (code T) 40 percent increase over base
Full color (code F) 60 percent increase over base
Write a program to input Milt's choice of magazine (N, P, O, I), the number of lines of print (integer), and either black and white (B) or color(C) with a choice of three colors (T) or full color (F). Output should include an appropriate title, all the information and costs used to compute the price of an ad, and the total price of the ad
The following data should be used to test this program:
N10N
N5B
P20CF
I10CT
O15B
N16CF
M15B
P0CT
we are just now doing IF statements an Switch statements.....so it has to use them somehow.......he said he wants it to beable to take "N10N" for example all at once an output the proper info? but when i try to ask him he just says read the book? i have tried its no help