subject

In this lab, you will use what you have learned about accumulating totals in a single-level control break program to complete a c++ program. the program should produce a report for a supermarket manager to her keep track of hours worked by her part-time employees. the report should include the day of the week and the number of hours worked for each employee for each day of the week and the total hours for the day of the week. the student file provided for this lab includes the necessary variable declarations and input and output statements. you need to implement the code that recognizes when a control break should occur. you also need to complete the control break code. be sure to accumulate the daily totals for all days in the week. comments in the code tell you where to write your code. instructionsstudy the prewritten code to understand what has already been done. write the control break code, including the code for the daychange() function, in the main() function. execute the program by clicking the "run code" button at the bottom of the screen. use the following input values: monday—6 hours (employee 1)tuesday—2 hours (employee 1), 3 hours (employee 2)wednesday—5 hours (employee 1), 3 hours (employee 2)thursday—6 hours (employee 1)friday—3 hours (employee 1), 5 hours (employee 2)saturday—7 hours (employee 1), 7 hours (employee 2), 7 hours (employee 3)sunday—0 hours

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Ajeweler designing a pin has decided to use five stones chosen from diamonds, rubies, and emeralds. in how many ways can the stones be selected?
Answers: 3
question
Computers and Technology, 23.06.2019 01:00
Petrică, tânăr licean în clasa a ix-a, a primit în dar de la părinţii săi un cont bancar pentru micile sale cheltuieli curente. el este pasionat de internet banking şi îşi verifică cu grijă toate tranzacţiile efectuate. pentru creşterea securităţii tranzacţiilor online, banca îi furnizează lui petrică un număr pe care el va trebui să îl modifice, obţinând un număr tan – număr de autentificare a tranzacţiei (transaction authentication number). regula de obţinere a numărului tan este următoarea: se formează cel mai mic număr par din toate cifrele numărului furnizat de bancă. cerinţă cunoscând numărul n furnizat de bancă, să se determine numărul tan obţinut de petrică. date de intrare fişierul tan.in conţine pe prima linie numărul natural n cu semnificaţia din enunţ. date de ieşire fişierul de ieşire tan.out va conţine o singură linie pe care va fi scris numărul tan cerut. restricţii • 0 < n < 18*1018 • n are cel puţin o cifră pară • numărul tan obţinut nu poate conţine zerouri nesemnificative
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
question
Computers and Technology, 24.06.2019 03:40
4. does the kernel phenotype distribution support the idea that the cob is the result of a dihybrid cross? what information supports your answer? if a dihybrid cross (i.e. f1 to f2 of standard mendelian crosses) is not indicated what conditions might contribute to this finding.
Answers: 2
You know the right answer?
In this lab, you will use what you have learned about accumulating totals in a single-level control...
Questions
question
Mathematics, 29.01.2020 01:59