Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with this project, really needed help ,thank you! COP 3223 Programming @ UCF} Learning Outcomes Functions and Pointers Read carefully before you start

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedPlease help with this project, really needed help ,thank you!

COP 3223 Programming @ UCF} Learning Outcomes Functions and Pointers Read carefully before you start coding! At Valence community college,- unde r the constraint f having no mo re than 7 cre f this assignment is to construct a fee invoice for a student. This requires the input of Student' s id as integer and the course numbers It costs 120.25 dollars per credit hour in addition to $35.00 charged for health and id services. In this project, functions must be used (no redundant code is allowed this time) a hint is provided at the end of this document. Add functions as you see fit. Bottom 1ine: Have the cleanest minimum lines of code possible) program. This is a great opportunity to work in groups by having each student taking care of function or two and then meet to put everything together. edit hours. The purpose o Here is the list of all courses Valence Comunity College offers: Course Prefix MAT 236 COF 220 GOL 124 COP 100 MAT 230 MAT 231 MAT 232 MAT 233 MAT 256 COF 420 GOL 127 COP 101 4597 4599 8997 4590 4591 4592 4593 3597 4519 6997 9494 After inputting all the necessary data (see sample run)a fee invoice as shown below should be printed to the screen RLANDO FL 10 Fe Invoice Prepared Eor Student vs656 1 Credit Bour 120.25 45B7 MA 236 CR PREFIx 599 COP 220 360.75 Health & id fes 35.00 Total Paynenes876.75 You may assume that the user wil1 always enter different crns (but if you feel ambitious, you may add the code to checks for that. Please don't ask for extra credit for that) Sample Run 1 The user's entry is in bold) Enter the Students d Enter how many oure-up to 3 ORLANDO FL 1010 1 Credit Bour 120.25 4599 COP 220 360.75 Health & id fes 35.00 Total Payments876-75 Would you like to print anothe invoice? -yes, N-Na Invalid Entty t has to be y o) Sample Run 2 (The user's entry is in bold) Enter the Students d Enter how many oure-up to 3 Invalid numbe o eourses (up Eo 3) RLANDO FL 10 Fee Isvoice Prepared Er Student VS656 Credit Hour -120.25 CR BoURS Health&id fees 35.00 Total Paynenes3S.00 Would you like to print another isvoice? y-yes, -No Enter the Students d Enter how many courses-up to3 Enter the 2 eourse nunber s Sorzy we can't process moze than 7 eredit hours 4587 9696 Would you like to print another isvoice? y-yes, -No Enter the Students d 7892 Enter how many coursea-up to 3 Enter the 3 course nunber s Sorry invalid en (a) Would you like to print another isvoice? y-yes, -No Goodbye! 8858 8256 4887 Sample Run 3 (The user's entry is in bold) Enter the Students d Enter how many coursea-up to 3 Enter the 3 course nunber s 8997 6997 9696 VALENCE COIUNITY COLLECE ORLANDO FL 10101 Fee Isvoice Prepared Er Student VS656 Credit Hour -120.25 8997 GOL 124 6997 GOL 127 9696 COP 100 120.25 120.25 601.25 Health&id fees 35.00 Total Payments876-75 Would you like to print another invoice? -yes, N- Goodbye COP 3223 Programming @ UCF} Learning Outcomes Functions and Pointers Read carefully before you start coding! At Valence community college,- unde r the constraint f having no mo re than 7 cre f this assignment is to construct a fee invoice for a student. This requires the input of Student' s id as integer and the course numbers It costs 120.25 dollars per credit hour in addition to $35.00 charged for health and id services. In this project, functions must be used (no redundant code is allowed this time) a hint is provided at the end of this document. Add functions as you see fit. Bottom 1ine: Have the cleanest minimum lines of code possible) program. This is a great opportunity to work in groups by having each student taking care of function or two and then meet to put everything together. edit hours. The purpose o Here is the list of all courses Valence Comunity College offers: Course Prefix MAT 236 COF 220 GOL 124 COP 100 MAT 230 MAT 231 MAT 232 MAT 233 MAT 256 COF 420 GOL 127 COP 101 4597 4599 8997 4590 4591 4592 4593 3597 4519 6997 9494 After inputting all the necessary data (see sample run)a fee invoice as shown below should be printed to the screen RLANDO FL 10 Fe Invoice Prepared Eor Student vs656 1 Credit Bour 120.25 45B7 MA 236 CR PREFIx 599 COP 220 360.75 Health & id fes 35.00 Total Paynenes876.75 You may assume that the user wil1 always enter different crns (but if you feel ambitious, you may add the code to checks for that. Please don't ask for extra credit for that) Sample Run 1 The user's entry is in bold) Enter the Students d Enter how many oure-up to 3 ORLANDO FL 1010 1 Credit Bour 120.25 4599 COP 220 360.75 Health & id fes 35.00 Total Payments876-75 Would you like to print anothe invoice? -yes, N-Na Invalid Entty t has to be y o) Sample Run 2 (The user's entry is in bold) Enter the Students d Enter how many oure-up to 3 Invalid numbe o eourses (up Eo 3) RLANDO FL 10 Fee Isvoice Prepared Er Student VS656 Credit Hour -120.25 CR BoURS Health&id fees 35.00 Total Paynenes3S.00 Would you like to print another isvoice? y-yes, -No Enter the Students d Enter how many courses-up to3 Enter the 2 eourse nunber s Sorzy we can't process moze than 7 eredit hours 4587 9696 Would you like to print another isvoice? y-yes, -No Enter the Students d 7892 Enter how many coursea-up to 3 Enter the 3 course nunber s Sorry invalid en (a) Would you like to print another isvoice? y-yes, -No Goodbye! 8858 8256 4887 Sample Run 3 (The user's entry is in bold) Enter the Students d Enter how many coursea-up to 3 Enter the 3 course nunber s 8997 6997 9696 VALENCE COIUNITY COLLECE ORLANDO FL 10101 Fee Isvoice Prepared Er Student VS656 Credit Hour -120.25 8997 GOL 124 6997 GOL 127 9696 COP 100 120.25 120.25 601.25 Health&id fees 35.00 Total Payments876-75 Would you like to print another invoice? -yes, N- Goodbye

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

Step: 3

blur-text-image

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

T Sql Window Functions For Data Analysis And Beyond

Authors: Itzik Ben Gan

2nd Edition

0135861446, 978-0135861448

More Books

Students also viewed these Databases questions