Programming Homework Help
Programming Homework Help. having trouble writing this program
Having trouble writing this:(
Write a program thast does the following:
Prompts the user to input a numeric grade between 0 and 100.
Prompts the user to input a grade category( Ma=major, Mi=minor, Oth= other)
Continue to prompt user for grades and categories while the input for a grade is greater or equal to zero.
As user enters grades, accumulate each type. When the user quits, calculate the grade average based on the following:
Major grades are 70% of total average
Minor grades are 20% of total average
other grades are 10% of total average