Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle9i Database Administrator Implementation And Administration

Authors: Carol McCullough-Dieter

1st Edition

0619159006, 978-0619159009

More Books

Students also viewed these Databases questions

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago