• 1500+ Experts
  • A+ Grade
  • Free Turnitin Report

B9DA108: Write A Program In Python To Prompt The User To Input Their Name: Programming for Data Analysis Assignment, NUI, Ireland

University National University of Ireland (NUI)
Subject B9DA108: Programming for Data Analysis

Problem 1

Write a program in Python to prompt the user to input their name, employee number, week ending date, hours worked, rate per hour, standard, and overtime tax percentage rate. Use the data input to calculate gross pay, tax deductions, and net pay. Output the results as a formatted payslip. Assume that a standard working week is 37.5 hours.

E.g. Ask the user to enter the following data:

Employee Name: (sample input – Mark Bate)

Employee Number: (sample input – 123456789A)

Week ending: (sample input – 26/01/2018)

A number of hours worked: (sample input – 42.5)

Hourly Rate: (sample input – 10.50)

Overtime Rate: (time-and-a-half as 1.5)

Standard Tax Rate: (sample input – 20)

Overtime Tax Rate: (sample input – 50)

Are You Searching Answer of this Question? Request Ireland Writers to Write a plagiarism Free Copy for You.

Once the above data has been entered the program should display the employee’s payslip as per the following example:

PAYSLIP

WEEK ENDING 26/01/2018

Employee: Mark Bate Employee Number: 123456789A

Earnings

Hours Rate

 

Total

Deductions
Hours (normal) 37.50 10.50 393.75 Tax @ 20% 78.75
Hours (overtime) 5.00   15.75 78.75 Tax @ 50% 39.37
 

Total pay:

 

472.50

Total deductions: 118.12
Net pay: 354.38

Problem 2

Write a program in Python that prompts the user for their username in the format Domain Name\Username as per Figure 1a below.

On entering their domain and username and pressing carriage return, write out to the console window each individual data item as per Figure 1b below.

NOTE: The user can enter any combination of domain and username.

Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.

Get Help By Expert

If you are still struggling to perform a programming assignment on (B9DA108) Programming for Data Analysis then you can seek assistance from Ireland Assignments. Our Galway assignment experts will help you in performing analysis for tracing all external variables.  We also provide other services such as essay writing, academic writing, proofreading and editing services. Our Professional provides good Quality and Quick services that too at reasonable costs.

Submit Your Assignment Questions & Get Plagiarism Free Answers.

Assignment-Help-Ireland.jpg

Submit Your Assignment