5. Write a program that determines the class of the Ship depending on its class ID (Identifier). Here are the criteria. The class ID serves as the input data and the ship class as the output information.
CLASS ID Ship Class
B or b Battle ship
C or c Cruiser
D or d Destroyer
F or f Frigate
In Switch Case
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-47574.pdf
Comments
Leave a comment