Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Im stuck, Help is much apprectiated Make an array that will hold 3 integers. Without prompting the user for input or using a loop, fill

Im stuck, Help is much apprectiated

Make an array that will hold 3 integers. Without prompting the user for input or using a loop, fill that array with the values 23, 0, and -5. Write decision logic to determine whether the values in each array element is negative, positive, or equal to zero. Make the decision logic loop 3 times, since we want to test 3 different values.

Use logic to make a String array to hold student names, a character array to hold student letter grades, and a two-dimensional array to hold each of the five students' test scores for each of the four exams completed during the semester.

Use nested for loop logic to fill the names and test scores arrays. Do not accept test scores less than zero or greater than 100.

Use another nested for loop to compute the average test score for each student and then assign the corresponding letter the letter grade array. Make sure you test each letter grade value!

Use while loop logic to display a table showing each student's name and letter grade.

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

Students also viewed these Programming questions

Question

4. What are some ways that a firm can segment its customers?

Answered: 1 week ago