First, your program must print an introductory output title, and then prompt the user for the plan code. Allow for A, B or C, in upper or lower case. Next ask the user for the number of hours and read this as a whole number.Be sure to read the section on "Bad Data Checking" below.Remember to use good style in your program following the course guidelines both from in class discussions and in the required handout, and make the program as user-friendly aspossible. Make your input prompts and other output clear and well-formatted.Bad Data CheckingYour program must check for two kinds of bad input data: (1) verify that the user selects only A, B or C for the service package (in upper or lower case) and (2) the number of hours in a month cannot be less than zero and cannot exceed 744 (the number of hours in a month with 31 days).First, ask the user for the service plan code. If that code is invalid, print an error message and do not ask the user for the number of hours. If the service plan code is valid, do ask the user for the number of hours. If the number of hours entered is invalid, then print an error message indicating that.You may assume for this program that when asked for a character, the user types a single non- blank character and then hits enter. You may also assume for this program that when asked for a whole number, the user types an integer value and then hits enter.Calculate the monthly bill amount only if the service plan code entered and the number of hours entered are both valid inputs.