Write a Java program that will read the assignment marks of each student and store them in two- dimensional array of size 5 rows by 10 columns, where each row represents a student and each column represents an assignment. Your program should output the number of full marks for each assignment (i.e. mark is 10). example, if the user enters the following marks: The program should output: Assignments 10 10 1.5 # Full marks in assignment (1) = 2 # Full marks in assignment (2) = 5 ... ... ... ... ... ... ... 10 2.5 ... ... ... ... ... ... ... 1.5 10 9.8 ... ... ... ... ... 10 10 ... 1.0 ... ... ... ... ... ... ... Student 1291

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 22PE
icon
Related questions
Question
100%
Java
Write a Java program that will read the assignment marks of each student and store them in two-
dimensional array of size 5 rows by 10 columns, where each row represents a student and each column
represents an assignment. Your program should output the number of full marks for each assignment (i.e.
mark is 10).
For example, if the user enters the following marks:
The program should output:
Assignments
10
10
1.5
# Full marks in assignment (1) = 2
# Full marks in assignment (2) = 5
...
...
...
...
...
...
...
10
2.5
...
...
...
...
...
...
....
1.5
10
9.8
...
...
...
...
...
...
...
10
10
...
1.0
...
...
...
...
...
...
...
10
3.5
.
...
...
...
...
...
...
...
...
...
:: :
12913
Student
Transcribed Image Text:Write a Java program that will read the assignment marks of each student and store them in two- dimensional array of size 5 rows by 10 columns, where each row represents a student and each column represents an assignment. Your program should output the number of full marks for each assignment (i.e. mark is 10). For example, if the user enters the following marks: The program should output: Assignments 10 10 1.5 # Full marks in assignment (1) = 2 # Full marks in assignment (2) = 5 ... ... ... ... ... ... ... 10 2.5 ... ... ... ... ... ... .... 1.5 10 9.8 ... ... ... ... ... ... ... 10 10 ... 1.0 ... ... ... ... ... ... ... 10 3.5 . ... ... ... ... ... ... ... ... ... :: : 12913 Student
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Introduction to computer system
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning