Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this lab, use Scanner, data types and multiple methods with parameters and returns to take in data from the user and print out their

For this lab, use Scanner, data types and multiple methods with parameters and returns to take in data from the user and print out their "new account" information, including the following features:

  • main should use Scanner to collect the user's first name, last name, state and zip code (optional to collect more user data) (5 points)
  • a email address method* should use their first initial and last name to create an email address for them (Homer Simpson would yield <..n@company got it be in email form at the end) - this email should not be printed by the method, just returned (4 points)
  • a password method* should use the users last name, state and zip code to create a password for them (Simpson in Washington 98030 would yield SimpsonWashington98030) - this password should not be printed by the method, just returned (4 points)
  • another method (of your choice) should also be created in a similar format to the above - security question? backup account? something else? (4 points)
  • After the methods run, a new account summary should print out all of the users data (Full Name, email, password, etc) in a readable and visually formatted way of your choosing (3 points)

* the email method and password method should be parameter-ized, using information passed in from main. For this activity, DO NOT use Scanner inside of these methods

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_2

Step: 3

blur-text-image_3

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

Management Accounting Information for Decision-Making and Strategy Execution

Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young

6th Edition

137024975, 978-0137024971

More Books

Students also viewed these Programming questions

Question

Explain the difference between order qualifiers and order winners.

Answered: 1 week ago