Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA language Program - First Project You have been asked to write Java console applications to hold several tasks. The applications' requirements are as follows:

JAVA language

image text in transcribedimage text in transcribedimage text in transcribed

Program - First Project You have been asked to write Java console applications to hold several tasks. The applications' requirements are as follows: Part1 Using any Loop statements, print out the following shape: The user will be prompted to enter how many numbers of asterisks as follows. Part 2 Using Arrays, do the following: Declare one dimensional array that represents 10 students' marks. Find out the total of all marks, average, minimum value, and maximum value. Your Console should look like the following: Welcome to the second Part! Enter the Student Marks: Enter mark \# 1 : 80.5 Enter mark \# 2:90 Enter mark \# : : 60 Enter mark \# 4:67.5 Enter mark \# 5:99 Enter mark \# 6 : 75 Enter mark \# 7 : 65.8 Enter mark \# 8 : 98 Enter mark \# 9 : 87 Enter mark \# 10 : 82 Final Report: The Total Marks: Show the result here The Average : Show the result here (should be formatted number with one decimal digit only The Maximum Value : Show the result here The Minimum Value : Show the result here Part 3 Using Arrays, do the following: Declare two dimensional array myArray[3][4] and let the program do the following: 1. Enter the array elements from inside the program (The Array elements should be initialized or hardcoded, i.e., no need to enter them from Java console). 2. Calculate the total sum of each row in the array. Calculate the Average of all array's elements. Your results should be printed as follows: 3. Save the previous array in a one-dimensional array and print out the elements of the new array as follows: 4. Display the last new array in ascending order using any supported method if existing 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

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

305 mg of C6H12O6 in 55.2 mL of solution whats the molarity

Answered: 1 week ago