Answered step by step
Verified Expert Solution
Question
1 Approved Answer
fix below code. In the code, I wrote For loop and Switch but those are not executed. I want it to be executed like below
fix below code.
In the code, I wrote For loop and Switch but those are not executed.
I want it to be executed like below pics.
* Below pics, from "Enter your name: to "Phone number: is OK but after Phone number, I want it to be executed like 2nd pic
Enter your Name: Midori W Enter your Email: kimidori70@gmail.com Enter your Phone number: 4157778888 Enter your Birthday (e.g dd, mm, yyyy): 05,29, 2009 Are you over 21 (y/n): n Name: Midori W Email: kimidori70@gmail.com Phone number: 4157778888 You didn't indicate if you are over 21 or not with y/n Invalid year After "Phone number: 4157778888", I want it to be executed like below pic, Not "you didn't indicate if you are over 21 or not with y/n" and "Invalid year" You were born on happy < < < >> Too bad!!! You are under 21 years <
Step by Step Solution
There are 3 Steps involved in it
Step: 1
import javautilScanner public class BakingBis public static void mainString args Scanner sc new Scan...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started