create a menu driven program using scanner class switch case of series
Answers
Answered by
13
Heyaa Mate!
Answer:
Program for menu driven system in java.
- Import the Scanner.
- Declare the class as public.
- Add the void main function.
- Add system. out. println() function with the message to enter choice.
- Declare input as Scanner.
- Take the inputs and save it in variables.
- Add a Switch Statement.
- Add the formula to calculate area.
_______________________________________
Hope this helps you!
Pls mark as brainiest...
Thankyou❤
Similar questions