The average is: 83 Enter name of a student: Jose Villa Enter grade 1 : 95 2 Enter grade 2: 95 Enter grade 3: 95 Enter grade 4: 90 The average is: 100 The average is: 95

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 12PE
icon
Related questions
Question
100%

#2. Using a 2 by 2 x 2 three-dimensional arrays, write a program that asks the user to input
two names of the students, with two grades in four subjects. in Java language
Class Name: StudentsNameandGrade
Sample Input/Output
Enter name of a student: Philip Mojares
Enter grade 1 : 80
Enter grade 2: 86
Enter grade 3: 86
Enter grade 4: 80
The average is: 83
Enter name of a student: Jose Villa
Enter grade 1 : 95

2

Enter grade 2: 95
Enter grade 3: 95
Enter grade 4: 90
The average is: 100
The average is: 95

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Probability Problems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage