Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that prompts the user for the number of tellers at Nation’s Bank

ID: 3625299 • Letter: W

Question

Write a program that prompts the user for the number of tellers at
Nation’s Bank in Hyatesville that worked each of the last three years. For
each worker the program should ask for the number of days out sick for
each of the last three years. The output should provide the number of
tellers and the total number of days missed by all the tellers over the last
three years.
See the sample output below.
Sample Run:
How many tellers worked at Nation’s Bank during each of the last three years ?
2
How many days was teller 1 out sick during year 1 ?
5
How many days was teller 1 out sick during year 2 ?
8
How many days was teller 1 out sick during year 3 ?
2

How many days was teller 2 out sick during year 1 ?
1
How many days was teller 2 out sick during year 2 ?
0
How many days was teller 2 out sick during year 3 ?
3
The 2 tellers were out sick for a total of 19 days during the last three years

Explanation / Answer

#include using namespace std; int main (){ int teller = 0, sickDays = 0, temp =0; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote