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
Comments
Leave a comment