Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN JAVA Assignment1C: Creating NetIDs! As a KSU student, you should have your own NetID - the username you use to log into your email,
IN JAVA
Assignment1C: Creating NetIDs! As a KSU student, you should have your own NetID - the username you use to log into your email, D2L, and the lab computers among other KSU systems. While your real NetID is assigned to you by the school, in this program you will have the ability to generate and output your own custom NetID (for fun only, of course)! The rules for a KSU NetID are as follows: First letter of your first name Your full last name A positive whole number, such as 12 The largest possible whole number value for this program is 9999. As an example, a student named Scrappy Owl might have the NetID sowl1234. Your task for this assignment is to prompt the user to enter the three pieces of required information. You must then store those values in the most efficient variable data type possible. You will not receive full points if you use a variable type that is larger than necessary - consult the slides on data types to determine the best one for each value. Hint; Each of the three user-inputted variables should have a different data type. Once the data has been entered and stored, you should concatenate the three values and print the results to the user. An example of the program's output is shown below. Your program's output must match this format, but it should work for any valid user input. Save your source code in a file called Assignment1C (with a file extension of .cpp, .cs or .java) Sample Output: [KSU NetID Generatorl Enter the first letter of your first name: n Enter your last name: murphy Step by Step Solution
There are 3 Steps involved in it
Step: 1
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