having trouble writing this program

Question Description

I’m working on a Programming exercise and need support.

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

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

i can helpyou

UC Berkeley

Solid work, thanks.

The tutor was great. I’m satisfied with the service.

Goes above and beyond expectations !


Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors