Question: Create a C program which calculates student fees for those attending Santa Monica College. IN ORDER TO RECEIVE FULL CREDIT, YOU MUST CREATE FUNCTIONS TO

Create a C program which calculates student fees for those attending Santa Monica College. IN ORDER TO RECEIVE FULL CREDIT, YOU MUST CREATE FUNCTIONS TO SOLVE THIS PROBLEM WITH BOTH PASS-BY-VALUE AND PASS-BY-REFERENCE PARAMETERS (No, main() doesn't count). Summarized in the chart below is the cost calculations I want your program to perform.

SANTA MONICA COLLEGE STUDENT FEES (for Fall, 2017)

Enrollment Fee

$ 46.00/ unit for California Residents $ 355.00/ unit for F1/Non-Residents

Student Services Fee (AS Sticker fee is Optional, saving $19.50) (ID Card fee is Optional, saving $13)

$ 48.50 Winter/Summer $ 51.50 Fall/Spring

Parking Decal (Optional)

$ 45.00 Winter/Summer $ 85.00 Fall/Spring

A number of different program dialogues describe the program I am looking for.

SMC Fee Calculator Enter number of units enrolled: 18 Is this Fall[0], Winter[1], Spring[2] or Summer[3] session: 0 Are you a state resident[0] or not[1]: 0 Want a parking decal? [1 for yes/0 for no]: 0 Want an AS sticker? [1 for yes/0 for no]: 0 Want an ID card? [1 for yes/0 for no]: 0 For Fall semester, your total fees are $ 847.00

SMC Fee Calculator Enter number of units enrolled: 6 Is this Fall[0], Winter[1], Spring[2] or Summer[3] session: 1 Are you a state resident[0] or not[1]: 1 Want a parking decal? [1 for yes/0 for no]: 1 Want an AS sticker? [1 for yes/0 for no]: 1 Want an ID card? [1 for yes/0 for no]: 1 For Winter semester, your total fees are $ 2223.50

SMC Fee Calculator Enter number of units enrolled: 18 Is this Fall[0], Winter[1], Spring[2] or Summer[3] session: 2 Are you a state resident[0] or not[1]: 1 Want a parking decal? [1 for yes/0 for no]: 1 Want an AS sticker? [1 for yes/0 for no]: 1 Want an ID card? [1 for yes/0 for no]: 1 For Spring semester, your total fees are $ 6526.50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!