Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java program that does the following: User is required to enter first name and store it in a variable User is required to

Write a Java program that does the following: User is required to enter first name and store it in a variable User is required to enter last name and store it in a variable The user is required to enter his age and store it in a variable The user is required to enter his height in meters and store it in a variable * Using a loop statement, ask the user to input their five degrees out of a hundred and store them in an ArrayList * Note // the user must show the number of the degree to be entered through (loop), for example: "Please enter degree 1:", "Please enter degree 2:". * Calculate the students average based on the five grades entered by the user * Depending on the input, create print sentences that print the following: Typing the student's full name, age and height (in centimeters, not in meters as he entered it) in an appropriately written sentence (one sentence) Print the number of characters for the student's first name

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

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions