Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This week's assignment will need to perform the following tasks. Prompt the user for a/their first and last name (put this into a String object)

This week's assignment will need to perform the following tasks. Prompt the user for a/their first and last name (put this into a String object) Determine the number of characters in the name Determine if the name is a Short name, average length name, or a long name (An average length name is 13 characters for the purpose of this assignment) Next the program needs to randomly pick a character between a and z. (use the Math.random() function) Now, determine if that randomly picked character appears in the name entered or not. (You should account for lower case and uppercase letters - so if the user entered Maurice Moss and the selected character was m, it should indicate that the character was found. ) in JAVA.

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

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions