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
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.
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT