Question: Solve using any Programming language but specify Everything that needs to be calculated is stated in a,b and c Please read the question throrugly. You
Solve using any Programming language but specify
Everything that needs to be calculated is stated in a,b and c
Please read the question throrugly. You will see everything you need

Sometimes we need an extra push to work diligently. One such parenting tech nique is positive reinforcement based on grades. One suggestion is giving money based on grades one receives in a semester or year. We will see whether or not such a program is actually a true incentive for doing well in school. Your goal for this project is to create a program which receives the following information: number of courses (between 5 and 15 would be appropriate to pre- vent run time errors), dollar amounts for each letter grade, and the probability for completing each letter grade. Appropriate error messages should occur for the given prompts. The following outputs should occur: a) Quantity of Each Letter Grade b) Amount Given for Combination c) Expected Probability for entire problem Your code should include methods for handling nonnegative dollar amounts for grades: parents can opt to give no money or ask for money in return should a D or F be received. Parents should also be able to suggest if an F is received, no money at all is given. Provide outputs for the following: a) 5 classes. Cash: 10 for A, 3 for B, for C. 0 for D/F. Probabilities: 13, 1/4, 15, 1/6, 1/20. Do both the case where you can still earn money despite an F and the case where you cannot earn money if you received an F but you can despite a D b) 12 classes. Cash: 20 for A, 5 for B, 2 for C, 0 for D, -10 for F. Probabili ties: 1/2, 1/4, 1/5, 1/25, 1/100 If a student were able to calculate these probabilities on their own, would there be actual incentive to obtain all A's? Does the amount of classes or the dollar amounts greatly affect the incentive? Based on these questions, should such an incentive method actually be used? E xplain your conclusions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
