Click here to Skip to main content
15,067,335 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Specifications: Write a program that 1) initializes arrays via user input with the names and final scores for students in a class 2) displays a table of the students sorted by score with highest score first (names, scores, and letter grade) 3) displays the average score for the class and how many students received each letter grade.

You must use separate methods to read and sort the students.
You must use the Bubble Sort algorithm to sort arrays.
You cannot use any built-in array methods.
You must use a separate method to convert the score to a letter grade. (A = 90-100, B = 80-89, C = 70-79, D = 60-69, F = 0-59)
All output must be labeled and formatted.
You do not know at compile time how many students there are.
The program should be neat and readable with attention to naming and indentation.
There should be a header comment that states the name of the program, the name of the author, a brief description, and the status of the program. Status is either “working” or “not working” and if is not working you must clearly state what works and what doesn’t according to the specifications.

Can someone help me solve this I don't even know where to begin.

What I have tried:

I was able to get the first part . But I am completely lost from then on. Can someone help me solve this problem so i can study it for my final.
Updated 30-Nov-16 16:03pm
PIEBALDconsult 30-Nov-16 22:33pm
We won't do your homework.

1 solution

I don't even know where to begin.
Start with Google to find references for the parts you don't know.
We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.

As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better.
When you just ask for the solution, it is like trying to learn to drive a car by having someone else training.
Creating an algorithm is basically finding the maths and make necessary adaptation to fit your actual problem.
ridoy 1-Dec-16 4:45am
Patrice T 1-Dec-16 5:01am
Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900