Question: Write a Java program that satisfies all the following requirements. Capture/paste your full code SCREEN below, Requirements: - at least one space line before and

 Write a Java program that satisfies all the following requirements. Capture/paste

Write a Java program that satisfies all the following requirements. Capture/paste your full code SCREEN below, Requirements: - at least one space line before and after each while loop and for loop (if any). - at least one space line before if statement. At least one space line between each method - proper indentation This program is to create new user ID. Ask the user to input an ID to create. New ID must meet the following rules: 1) ID must be 4 characters in length. 2) ID must start with a letter like [azAZ] 3) ID must have at least one number like [0-9] If the rules from 1) to 3) are violated, an appropriate error message informing the user should be displayed. And ask the user to input new ID. If the ID meets all the rules, stop your program after printing the ID and message. (eg: Kim2 has been created successfully) You need to create three methods for each rule. Each method receives an ID to check if the ID meets the rule. The methods return true (if it is a valid ID) or false (if it is an invalid ID) for the rule

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!