Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A Main method will have a loop of your choice that will ask five users one by one to provide their first name and

A Main method will have a loop of your choice that will ask five users one by one to provide their first name Example Console Output Screenshot: Enter your first name: Kate Enter your Last name: Beckinsale Full name

A Main method will have a loop of your choice that will ask five users one by one to provide their first name and last name. Example for 1 input (1 iteration of the loop): 1. Enter your first name: Joanne 2. Enter your last name: Rowling The Main method will call generateEmail() and generatePassword() methods to generate Kean email and its password Method generateEmail() will generate a personal Kean email address based on the first name and last name. Such Kean email address consists of the first letter of the first name and the entire last name all in lower case appended with @kean.edu Example: Joanne Rowling => jrowling@kean.edu To simplify this question, we assume all usernames are unique. Method generatePassword() will generate and return to the caller a Random integer between 100000 and 999999 to be used as a temporary password The Main method will print information for each of 5 students in the form of small table in the form below on Console: Full name Joanne Rowling Kean email jrowling@kean.edu Password 548876 Example Console Output Screenshot: Enter your first name: Kate Enter your Last name: Beckinsale Full name Kate Beckinsale Enter your first name: Bobby Enter your Last name: Cannavale Full name Bobby Cannavale Enter your first name: Laverne Enter your Last name: Cox Full name Laverne Cox Enter your first name: Stanley Enter your Last name: Tucci Full name Stanley Tucci Enter your first name: Jai Enter your Last name: Courtney /******** * * * * * * * * * *** Kean email kbeckinsale@kean.edu Kean email bcannavale@kean.edu Full name Kean email jcourtney@kean.edu Jai Courtney Your program should start with the following comment lines: Kean email lcox@kean.edu *********/ Kean email stucci@kean.edu Kean University Fall 2023 Course: CPS2231 Computer Programming Author: Your Full Name, course, section Homework 1 Program Description: Password 888498 Password 437280 Password 444907 Password 104891 Password 447857 Submit your source code (.java file) and the screenshot of console output to Canvas. *****

Step by Step Solution

3.38 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

import javautilScanner import javaut... 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

Systems Analysis And Design

Authors: Alan Dennis, Barbara Wixom, Roberta M. Roth

7th Edition

1119496489, 978-1119496489

More Books

Students also viewed these Programming questions

Question

work settings of recent graduates;

Answered: 1 week ago

Question

1.12 Describe the sociocultural perspective on abnormal behavior.

Answered: 1 week ago