Question: Write a complete java program that presents a menu to the user: 1 . Fun with String 2 . Fun with Math Accept the user's
Write a complete java program that presents a menu to the user:
Fun with String
Fun with Math
Accept the user's choice. If the user chooses ask the user for their name. Print back their name in all uppercase, all lowercase, and tell them the first letter of their name.
If the user chooses ask the user for a numeric value. Then give the user a second menu:
Sine
Cosine
Tangent
When they choose the option, print back the value of that math function on their provided numeric value.
For example:
Welcome to my program. Please choose:
String
Math
What is your name? Andy
Your uppercase name is ANDY, your lowercase name is andy, and the first letter of your name is A
Welcome to my program. Please choose:
String
Math
What is the value?
Choose your function:
Sine
Cosine
Tangent
The sine of is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
