5
Reply

Program using if else ?

Ask a question
Hi


A second-hand bookstore charges 50 cents for the first 10 paperbacks that you buy and
35 cents for each additional paperback. Write just the if-else block for this program.
Assume that the user has entered the number of books she wishes to purchase as input.
Display the total cost.


TY cheers mate

Answers (5)