Question: Instructions Read the problem description below. Create the Decomposition for this problem. Additionally supply a listing of inputs and outputs. Finally provide a description of
Instructions Read the problem description below. Create the Decomposition for this problem. Additionally supply a listing of inputs and outputs. Finally provide a description of the decision structure you would use to solve the problem. This description needs to include the conditions you would use to solve the problem. Remember this is NOT to be solved using Python. Submissions showing Python code will receive a 0. Finally make sure you clearly mark your answer as Decomposition, Inputs \& Outputs and Decision Structure. Problem You are being asked to help create a program that will determine the cost of a gym membership. A standard membership is \$100. This price does not include any extras. Extras include: use of tennis courts (\$25), rock climbing (\$100) or a personai trainer (\$50). The program needs to ask the user for their name and which extra they would like to purchase. The program needs to print out the user's name, the cost of the extra if they choose one and the total cost of their membership. Grading - Decomposition w 2 points - InputsiOutputs =2 point - Decision structure logic ==2 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
