java
Write a program that reads from the user the description of the recharge vouchers prepaid card of the phone line.The user must enter a character,and the program should handle both capital and small letter alphabets The characters must be 's,sM,m'as shown in the following table: Vouchers type Symbol cost Days Small card Sors 12$ 10 days Medium card Morm 18$ 20 days The program computes and displays the price of the voucher and the number of the valid days. Note that if the user enters a wrong character,the message "sorry, you entered a wrong character"is displayed
Sampleruni:
Ententhevouchertypes:smali, M:mediums Youshouiapayi2s Youiineisvalidforiodays
Samplerun2
Enterthevouchertypessmali,M:medium)im Youshouldpayi8s! You iineisvaiidfor|20 days
Samplerun3:
Enterthe voucher type(SsmaliMmedium SorrY,lYou entered awrongcharacten