+ 1
Programming
Create a class that represents a grade distribution for a given course. Write methods to perform the following task. Set the number of each of the letter grades A,B,C,D and F. Read the number of each of the letter grades A , B, C, D and F. Return the total number of grades. Return the percentage of each letter grade as a whole number between 0 and 100.
14 Respuestas
+ 3
Taye Sam Tardey ,
Is that your homework?
If you want us to help, start somewhere and we will help you along the way.
+ 3
second:
- Go to the code playground,
- create a file in Java,
- give it an apropriate name,
- save it as public
- and post a link to it here in this post
+ 3
Taye Sam Tardey ,
is this the file?
https://code.sololearn.com/cQQdEmvojCk0/?ref=app
+ 3
Now, let's divide the problem in many subproblems:
1. Create a class that represents a grade distribution for a given course.
2. Write methods to perform the following task:
2.1. Set the number of each of the letter grades A,B,C,D and F.
2.2. Read the number of each of the letter grades A , B, C, D and F.
2.3. Return the total number of grades.
2.4. Return the percentage of each letter grade as a whole number between 0 and 100.
Start by trying to do subproblem 1. If you have any doubt ask.
+ 2
I am at work now, i will look into it asap. I really appreciate your help.
+ 1
first:
which programming language are you using?
+ 1
Yea thats it
+ 1
This java lesson from sololearn can be of help for the first subproblem:
https://www.sololearn.com/learn/Java/2155/
0
Yea thats the home work
0
The bar will have five bars, one per grade. Each can be a horizontal rows of asterisks. Let one asterisk represent 2 percent, so 50 asterisks corresponds to 100 percent. Mark the horizontal axis at 10 percent increments from 0 to 100 percent and label each line with it letter grade.
0
This is my first time coding, so i am a lil lost
0
Java
0
Okay let me do that now
0
Hello, i tried working on the program but i cant seem to make it run