can anyone help me write the code for the below situation using c-string? i'm cracking my head wif tis.....
write a program that searches for a TV channel. A user may enter any of the following strings: TV1, TV2, TV4 or TV5. It does not matter if a user search channel as in figure 1. However if a user enters a wrong string, then message "Wrong Channel" will be displayed.
Figure 1: possible output for TV channel search
TV1- CHANNEL 1
TV2- CHANNEL 2
TV3- CHANNEL 3
TV4- CHANNEL 4
TV5- CHANNEL 5