subject

In this assessment, you will design and code a Java console application that validates the data entry of a course code (like IT4782) and report back if the course code is valid or not valid. The application uses the Java char and String data types to implement the validation. You can use either the Toolwire environment or your local Java development environment to complete this assignment. The requirements of this application are as follows: The application is to read a course code entered by the user from the keyboard. The course code is made of 5 characters and should follow these rules: • First character is always an upper case I or a lower case i • Second character is always an upper case T or a lower case t • Third, fourth, fifth, and sixth characters are always digits (0-9) The application then validates the course code against above the rules and prints a message if the course code is valid or not. If the course code is not valid, the application should print a message explaining why the course code is not valid. Use these course codes to test your application: IT4782 iT4782 OT4782 it&782 Successful completion of this assignment will show a valid message or an invalid message for the entered course code. In addition, if the course code is invalid, the application should identify the reason for the invalidation. Your program output should look like this sample output:

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
The isometric projection camera technique provides an illusion of perspective by using things like parallax scrolling to create the illusion of 3d in a 2d game
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
question
Computers and Technology, 26.06.2019 04:30
What is an example of a use for an icon set? a. color scales for values b. data bars for amounts c. calculations for percentages d. star graphics for ratings
Answers: 1
question
Computers and Technology, 26.06.2019 04:40
Drag each tile to the correct box. mayra is writing a report on various career opportunities in the field of web and digital communications. while researching about dtp, she comes across the different tasks involved in creating a dtp document. she wants to know the typical sequence in which a dtp professional performs these tasks. can you her arrange the different dtp tasks in the correct order?
Answers: 1
You know the right answer?
In this assessment, you will design and code a Java console application that validates the data entr...
Questions
question
Mathematics, 29.04.2021 21:10
question
Mathematics, 29.04.2021 21:10
question
History, 29.04.2021 21:10
Questions on the website: 13722363