Write a program (MagicDates.java) that asks the user for his/her birthday: month, day, and a two-digit year. All are numeric values. The program should then determine whether the month times the day is equal to the year. If so, display a message saying “You were born in a magic date. Hogwarts welcomes you to the School of Witchcraft and Wizardry”; otherwise, display a message saying “You were born in a no-magic date; the muggle world is your home”.

Math Tutor (MathTutor.java) [10 pts.]
Write a program that lets the user enter 2 numeric values, and an arithmetic operator: +, -, * and /. The user must enter the arithmetic operator and not a number thar represents each operation. Write a switch statement that displays the result of the calculation using the operator and two numbers entered by the user. Remember that the division must have decimals and you need to validate the operator and display a proper message when the user enters a non-valid operator.

Internet Service Provider (InternetService.java) [10 points]
An Internet service provider has three different subscriptions packages for its customers:

Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $ 2.00 per hour. Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided.

Write a program that calculates a customer’s monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used (only for packages A and B). It should display the total charges using the currency format provided by the Format Number class.

Remember to add the comment Section at the top of each program Program that doesn’t compile – No points

Click here to have a similar A+ quality paper done for you by one of our writers within the set deadline at a discounted rate

error: Content is protected !!