Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The TresKom company was hired by the previous government to record the expenses of its parties / harteras in the VIP lounge of the Choliseo.

image text in transcribed
image text in transcribed
The TresKom company was hired by the previous government to record the expenses of its parties / harteras in the VIP lounge of the Choliseo. The new government, made up of engineers in TresKom. However, TresKom engineers were so inept that they did not create functions and put all the code in main.
We hope you get the job done it should have been done in the beginning!
Its objective is:
1- Move lines 11 to 14 to a function that will be called verifyMemory.
2- Move lines 16 to 20 to a function that will be called leerHarteras.
3- Move lines 22 to 27 to a function that will be called printHarterasyTotal.
4- In the function printHarterasyTotal, in addition to printing the cost of each hartera, you must also calculate and print the total of money that was spent on the hoards (the total).
(binge == fed up)
His job as a computer engineer is to move the lines of code to the functions and add the input parameters.
Necessary for the functions to run correctly. Don't forget that the print the total of all feedbacks.
Each part has the following score:
1- Introduction with detailed algorithm in sentences (pseudocode)(25%).
2- Detailed flow diagram (25%).
3- Implement the code using functions.(25% if no 0% functions are used)
4- Verify that code works and delivers the requested data on the computer screen (the teacher will read your code, line by line to see if it is true that it works well and will also look at the screenshot of the execution)(25%)
They must submit the report before the dealine indicated above to avoid penalty. Penalty for late delivery 20%.
Recommendation: implement the code as is and verify that it executes correctly. After verifying it works, start making the necessary modifications.
CECS 2203 COMPUTER PROGRAMMING I LAB PROYECTO NMERO 3 La empresa Tres Kom fue contratada por el gobierno anterior para contabilizar los gastos de sus fiestas/harteras en el saln VIP del Choliseo. El nuevo gobierno, formado por ingenieros con una conducta impecable quiere mejorar el cdigo de los ingenieros de Treskom. No obstante, los ingenieros de Tres Kom eran tan ineptos que no crearon funciones y pusieron todo el cdigo en el main. Esperamos que usted haga el trabajo tal y como debi haberse hecho en un principio! 13 on 100 tored corruption 2 include 3 #include > numofgastos 10 gastos - new floatinumofgastos 11 if gastos - NULL) 12 cout > gastos + 111 20 forint Dumogosto 1 23 cout

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

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

In order of importance, list six benefits of objectives.

Answered: 1 week ago

Question

1. The evaluation results can be used to change the program.

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago