Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C PROGRAMMING You are a cashier and your job is to pay employees salaries in cash. For a money order, make a program that prints
C PROGRAMMING
You are a cashier and your job is to pay employees salaries in cash. For a money order, make a program that prints how many copies of each currency you need. Define the following input data in a format that is internal to the program, but can be easily modified if necessary: Number of employees (5) Number of different currencies (9) Nominal value of each currency (1, 2, 5, 10, 20, 50, 100, 200, 500) The program asks the user for the salaries to be paid to the employees and prints based on the entered data according to the example below the scoreboard Enter the salary of the 1st employee> ## Enter the salary of the 2nd worker> # Enter the salary of the 3rd employee> ### Enter the salary of the 4th worker> #### Enter the salary of the 5th worker> ## Salary 500 200 100 50 20 10 5 2 1 ## # ## ## # # # # ### # # # #### # # # ## # # # TOTAL: ## ## # ## # # # # #
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started