Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone write this in java code Assignment1C: Creating NetIDs! As a KSU student, you should have your own NetID - the username you use

Can someone write this in java code
image text in transcribed
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 Generator] Enter the first letter of your first name: n Enter your last name: murphy Enter a valid whole number: 1 Your KSU NetID is nmurphy1. You can log into KSU computers with this NetID as your username and your email password as the password Your email address is nmurphy1@student. kennesaw.edu

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

2. How were various roles filled?

Answered: 1 week ago