office. The program should enable the user to enter the name, hourly pay rate, and weekly hours for a number of office employees. The pay rate and hours should be type float, and each datum should be written to its own line in the file. Enter data for at least five employees and then close the file. Sample Output Enter employee name or Enter to quit Michael Enter hourly pay rate 65.00 Enter hours this week 40.0 Enter employee name or Enter to quit Dwight Enter hourly pay rate 32.00 Enter hours this week 36.0 Enter employee name or Enter to quit Pam Enter hourly pay rate 28.00 Enter hours this week 40.0 Enter employee name or Enter to quit Angela Enter hourly pay rate 22.50 Enter hours this week 36.0 Enter employee name or Enter to quit Stanley Enter hourly pay rate 24.00 Enter hours this week 40.0 Enter employee name or Enter to quit Kevin Enter hourly pay rate 20.00 Enter hours this week 32.0 Enter employee name or Enter to quit File was created

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 2CP
icon
Related questions
Question
Using Python
{ SNAPCHAT
now
Jeff is typing...
office. The program should enable the user to enter the name, hourly pay
rate, and weekly hours for a number of office employees. The pay rate
and hours should be type float, and each datum should be written to its
own line in the file. Enter data for at least five employees and then close
the file.
Sample Output
Enter employee name or Enter to quit Michael
Enter hourly pay rate 65.00
Enter hours this week 40.0
Enter employee name or Enter to quit Dwight
Enter hourly pay rate 32.00
Enter hours this week 36.0
Enter employee name or Enter to quit Pam
Enter hourly pay rate 28.00
Enter hours this week 40.0
Enter employee name or Enter to quit Angela
Enter hourly pay rate 22.50
Enter hours this week 36.0
Enter employee name or Enter to quit Stanley
Enter hourly pay rate 24.00
Enter hours this week 40.0
Enter employee name or Enter to quit Kevin
Enter hourly pay rate 20.00
Enter hours this week 32.0
Enter employee name or Enter to quit
File was created
program6_2.py
This program reads the text file created in the program above and then
calculates and prints each employee's weekly pay. Note the currency
format with commas for thousands. The program should finish by printing
the total payroll for the office.
Sample Output
Pay for Michael is $2, 600.00
Pay for Dwight is $1,152.00
Pay for Pam is $1,120.00
Pay for Angela is $810.00
Pay for Stanley is $960.00
Pay for Kevin is $640.00
Total payroll for office $7,282.00
File was closed
Be sure to check the requirements again before you submit this
assignment.
Module 7 Assignment
B, Dropbox
O Overdue - Last Sun at 11:59 PM
Ends Oct 9, 2020 11:59 PM
REQUIREMENTS: READ CAREFULLY AND ADHERE TO ALL
REQUIREMENTS
Do not attempt this assignment unless vou have:
Transcribed Image Text:{ SNAPCHAT now Jeff is typing... office. The program should enable the user to enter the name, hourly pay rate, and weekly hours for a number of office employees. The pay rate and hours should be type float, and each datum should be written to its own line in the file. Enter data for at least five employees and then close the file. Sample Output Enter employee name or Enter to quit Michael Enter hourly pay rate 65.00 Enter hours this week 40.0 Enter employee name or Enter to quit Dwight Enter hourly pay rate 32.00 Enter hours this week 36.0 Enter employee name or Enter to quit Pam Enter hourly pay rate 28.00 Enter hours this week 40.0 Enter employee name or Enter to quit Angela Enter hourly pay rate 22.50 Enter hours this week 36.0 Enter employee name or Enter to quit Stanley Enter hourly pay rate 24.00 Enter hours this week 40.0 Enter employee name or Enter to quit Kevin Enter hourly pay rate 20.00 Enter hours this week 32.0 Enter employee name or Enter to quit File was created program6_2.py This program reads the text file created in the program above and then calculates and prints each employee's weekly pay. Note the currency format with commas for thousands. The program should finish by printing the total payroll for the office. Sample Output Pay for Michael is $2, 600.00 Pay for Dwight is $1,152.00 Pay for Pam is $1,120.00 Pay for Angela is $810.00 Pay for Stanley is $960.00 Pay for Kevin is $640.00 Total payroll for office $7,282.00 File was closed Be sure to check the requirements again before you submit this assignment. Module 7 Assignment B, Dropbox O Overdue - Last Sun at 11:59 PM Ends Oct 9, 2020 11:59 PM REQUIREMENTS: READ CAREFULLY AND ADHERE TO ALL REQUIREMENTS Do not attempt this assignment unless vou have:
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Troubleshooting
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning