programming

profilepavithra

 

The Payroll Department keeps a list of employee information for each pay period in a text file. The format of each line of the file is the following:

<last name> <hourly wage> <hours worked>

Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period. The report should be in tabular format with the appropriate header. Each line should contain an employee’s name, the hours worked, and the wages paid for that period.

PROJECT 2. Modify the sentence-generator program of Case Study so that it inputs its vocabulary from a set of text files at startup. The filenames are nouns.txt, verbs. txt, articles.txt, and prepositions.txt.

    • 7 years ago
    • 5
    Answer(1)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      payrollresults.PNG
    • attachment
      sentence.py
    • attachment
      sentenceresults.PNG
    • attachment
      Payroll.py
    • attachment
      PROJECT1-QUESTION1.docx
    • attachment
      PROJECT2-QUESTION2.docx
    • attachment
      question1-project1.PNG
    • attachment
      Question2-project2.PNG