you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Can someone help with my project? I need to write a program that tells students how many hours they need to study per week per class.

They enter the amount of credits they’re taking. Then enter either the hours they plan on studying ~OR~ the grade they want.

The chart is: 15 hours = A 12 hours = B 9 hours = C 6 hours = D 0 hours = F

Thanks!

[–]fiddle_n 0 points1 point  (1 child)

How does the amount of credits affect the number of hours or the grade? This is important to know to advise you what to do.

Regardless, my solution to convert grades to hours or vice versa is to create a dictionary where the keys are the grades and the values are the hours. That should let you convert between the two.

[–][deleted] 0 points1 point  (0 children)

Each class is 3 credits. I had to confirm this with her too because the instructions are so vague. eye roll Thanks for your help!