C programming

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

UCF- Fall 2018

COP 3223- C Programming

Learning Outcomes:

1) Operators
2) if/else statements
3) switch structure

Your C program for the following problem should run exactly as shown in the

sample runs, including format and indentation. Name your .c file as project2.c

Your C program must include a switch statement (in addition to if/else

statements)

At Valence community college, a student can take up to two courses. The

purpose of this assignment is to construct a fee invoice for a student.

This requires the input of Student’s id as an integer and (up to) the two

course numbers as integers.

It costs 120.25 dollars per credit hour in addition to $35.00 charged for

health and id services.

Here is the list of all courses offered at Valence Community College:

CRN Course Prefix Credit Hours

4587 MAT 236 4

4599 COP 220

3

8997 GOL 124

1

9696 COP 100 3

After inputting all the necessary data (see sample runs below), a fee

invoice is printed to the screen when the data entered is valid.

VALENCE COMMUNITY COLLEGE

ORLANDO FL 10101

*************************

Fee Invoice Prepared for Student V

5656

1 Credit Hour = $120.25

CRN CREDIT HOURS

4587 4 $ 481.00
4599 3 $ 360.75

Health & id fees $ 35.0

0

————————————–

Total Payments $ 876.75

Sample Run 1 (The user’s entry is in bold)

Enter the Students Id:

5656

Enter how may courses taken(up to 2):

3

Sorry, we can’t process your request this time-invalid number of courses.

Try again. Goodbye!

Sample Run 2 (The user’s entry is in bold)

Enter the Students Id:
5656

Enter how may courses taken (up to 2):

2

Enter the 2 course numbers separated by – :(like 2356-8954)

4587-4599

Thank you!

PRESS ANY KEY TO CONTINUE . . .

VALENCE COMMUNITY COLLEGE
ORLANDO FL 10101
*************************

Fee Invoice Prepared for Student V5656

1 Credit Hour = $120.25

CRN CREDIT HOURS

4587 4 $ 481.00
4599 3 $ 360.75

Health & id fees $ 35.00

————————————–
Total Payments $ 876.75

Sample Run 3 (The user’s entry is in bold)

Enter the Students Id:
5656

Enter how may courses taken (up to 2):
1

Enter the course number:

4586

Sorry invalid entry!

Try again. Goodbye!

Sample Run 4 (The user’s entry is in bold)

Enter the Students Id:
5656

Enter how may courses taken (up to 2):
0

Thank you!
PRESS ANY KEY TO CONTINUE . . .

VALENCE COMMUNITY COLLEGE
ORLANDO FL 10101
*************************

Fee Invoice Prepared for Student V5656

Health & id fees $ 35.00

————————————–

Total Payments $ 35.00

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.

Order your essay today and save 30% with the discount code ESSAYHELP