the following code segment is meant to determine the price of a pineap
Search for question
Question
The following code segment is meant to determine the price of a pineapple based on its grade. Convert the if-else statement (lines 8 – 16) using the switch statement.