
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is lab assignment for Computer Programming course by Anushka Banton at Biju Patnaik University of Technology, Rourkela. It includes: Program, Functions, Display, Information, Calculate, Working, Hours, Amount, Prompt, Choice
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Mr. X is an employee in a private company “Delta” where he is a part time employee; there is a rule in company they pay their employees according to working hours throughout the week per hour they pay 300 Rs., Mr. X wants to make a computer program from you which will take the hours he worked through out week days and print the total earned amount through out the week. Mainly some requirements are there from the program that you will build as follows: Program should have three functions 1st^ functions will just display the information about that company ( you can suppose any ) 2 nd function will take the hours worked by the employee of all week days e.g. Saturday, Sunday, Monday etc. one by one and will calculate total working hours 3rd^ function will take these total working hours from 2nd^ function and will calculate the total earned amount ( total working hours*300) Program should first prompt the user to enter choice if user selects ‘h/H’ program will calculate earned amount other wise program should display just the information of the company
Docsity.com