D W

D W

  • NA
  • 12
  • 21.5k

Write a program that translates a TV channel (1 through 10) in your area to its respective call sign.

Oct 27 2012 8:26 PM
Write a program that translates a TV channel (1 through 10) in your area to its respective call sign. For example, in the New York metropolitan area, channel 2 translates to WCBS. If a channel is unused in your area, tell the user that this is the case.

Sample output from program:

Translate TV Channel Number to Call Sign

Enter channel number:  1
Channel 1 is undesignated in your area

Enter channel number:  2
Call sign for channel 2 is WCBS

Enter channel number:  6
Call sign for channel 6 is WRNNDT


Answers (1)