2. Write a program code using if...else if...else statement asking the user to enter an option between "Fiction" or "Nonfiction" books using upper case function. Accept number of copies from the user. Calculate and display the total price based on the following table Note: Total Price = Rate per book X No of copies
fiction 50
non fiction 30
other invalid