How I Built a Simple Report Card Program in Java for 15 Subjects Part 2by@mayankvikash

How I Built a Simple Report Card Program in Java for 15 Subjects Part 2

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

A few days ago I published an article about making a [report card program] in Java. Write a program to take marks of 15 subjects from the user and display the Total, Percentage, Highest Marks, Average, and Remarks. It should also work if the number of subjects is less than 15 or less than 2. I added more 14 conditions for different inputs, for ex if the subject is 2, this code will be executed: "Atleast 2 subjects required" and "Number of subjects should not be more than 15"

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How I Built a Simple Report Card Program in Java for 15 Subjects Part 2
Mayank Vikash HackerNoon profile picture

@mayankvikash

Mayank Vikash


Receive Stories from @mayankvikash

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa