Hey guys, it's me again! I just want you to help me getting done with this code. My program is about getting General Weighted Average by dividing the subject_grade and the subject_unit. So, I hope you can help me :)
Here's my code:
Move line 16 before line 11.
line 14/18: Replace count with c.
line 20 I would guess: GWA+=subject_units[c]/subject_grade[c];.
line 22 for average you need to divide by the amount: GWA/count. Take care that count > 0.