Question: give to explain and pesdue code plz.. Note that this problem requires the implementation of a small menu system (see Section 4.10) as well as


give to explain and pesdue code plz..
Note that this problem requires the implementation of a small menu system (see Section 4.10) as well as input validation (see Section 4.11). The menu system can be implemented at our current level with an "if-else-if" ladder or by a switch statement. The input validation can be done with standard "if statements. Program 4-18 is an excellent model for the solution to this problem, at least as far as the basic structure is concerned. Make sure you understand exactly what is to be calculated in each "package." For example, if Package A is chosen and the user wants 650 minutes, how should the monthly bill be calculated exactly? I suggest you work out those equations in pseudo-code before you begin writing the program. Also, take note of the input validation requirements at the end of the problem (in italics). They specify that only 'A', 'B', or 'C' is allowed as the input for the package. Have your program accept either upper or lower case letters for the package choice (e.g., either 'A' or 'a' will choose package 'A'). Anything outside of the range A 'C' or the range a c' should be considered an error. Also, note that the problem asks the user to enter how many minutes were used even if Package "C" is chosen. This may seem redundant in the case of Package "C," but it will be useful in the following modification. Consequently, your program should ask both of those questions up
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
