Problem Description
Write a program that takes in a letter class ID of a ship and display the equivalent string class description of the given ID. Use the table below.
Class ID Ship Class
B or b BattleShip
C or c Cruiser
D or d Destroyer
F or f Frigate
No comments:
Post a Comment
Note: only a member of this blog may post a comment.