Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started