Calculate the weekly salary of a worker

Assignment Help C/C++ Programming
Reference no: EM13908717

Write a program to calculate the weekly salary of a worker. Ask the user for the pay per hour for weekdays, and pay per hour on weekends. Then ask user for number of hours worked for each day of the week (i.e. Mon, Tue, … Sun). The program should then display the amount earned that week.

Reference no: EM13908717

Questions Cloud

What is the maximum that can be consumed in the first period : If the borrowing/lending rate is 20%, what is the opportunity set? What is the maximum that can be consumed in the first period? In the second period?
Create a website downloader in python : Create a website Downloader in Python. Given a url, find all the links and store each page into local machine. This must be done repeatedly (if you find new links in the pages downloaded, you must go deeper levels).
Design a program that uses a loop to display : Running on a particular treadmill you burn 3.9 calories per minute. Design a program that uses a loop to display the number of calories burned after 10,15,20,25,30 minutes?
Compute the sales price variance and the sales volume : Comp Wiz sells computers. During May 2013, it sold 350 computers at a $ 1,200 average price each. The May 2013 fixed budget included sales of 365 computers at an average price of $ 1,100 each.
Calculate the weekly salary of a worker : Write a program to calculate the weekly salary of a worker. Ask the user for the pay per hour for weekdays, and pay per hour on weekends. Then ask user for number of hours worked for each day of the week (i.e. Mon, Tue, … Sun).
Which of the variances are of greatest concern : Resset Co. provides the following results of April's operations: F indicates favorable and U indicates unfavorable. Applying the management by exception approach, which of the variances are of greatest concern? Why?
Extension of a filename : Modify your earlier program that found the extension of a filename. This time your program will identify a file name that is no longer that 12 characters and has one of five extensions that you specify (eg: .doc. .py, .html, .txt, .ps).
The following information describes production activities : The following information describes production activities of Mercer Manufacturing for the year:
What is the average return in each market : Consider the given returns: What is the average return in each market from the point of view of a U.S. investor and of a U.K. investor?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Explain in a one to two 1-2 page narrative a use case

as an intern software developer for a retail bank you have been tasked with developing use cases to support the atm

  Implementation of data member counter of type int

Write the implementation (.cpp file) of Counter class. Here is the full specification of the class: A data member counter of type int.

  Arithmetic instructions and a branch instruction

A computer system is using pentium-5 processor with 5 stages in pipeline processing with cycle time of 5ns, whereas another computer system is using pentium-7 processor with 7 stages in pipeline processing with cycle time of 3.75 ns.

  Implement an overloaded addition operator for point class

Implement overloaded addition operator + and subtraction operator - for the Point class. Implement an overloaded multiplication operator * to return the dot product of two Point objects.

  Linked list program

This lab, along with your TA, will help you navigate through designing, implementing, and testing a dynamic linked list.  Linked lists may be used to implement many real world applications. Recall, linked lists are data structures, which represent co..

  Write a c++ statement that outputs the data stored

Write a C++ statement that declares student to be a personType object, and initialize its first name to "Buddy" and last name to "Arora".

  Grocery store program

This program draws upon several concepts that were covered in CptS 121 and should serve as a good refresher for CptS 122. Our store, Cougar Mart, maintains its inventory in a text file. Not being very tech savvy, the owner of Cougar Mart needs you to..

  To overload a member function of the base class

To overload a member function of the base class A: the name of the function and the formal parameter list of the corresponding function in the derived class must be the same. B: the name of the function must be different

  Development team modify

The application used to calculate the cost of carrying additional luggage results in erroneous amount, if the weight of the luggage is a fractional number. Help the development team modify the code snippet so that the cost of carrying additional l..

  Write a function named dietoss that simulates the tossing

Write a function named dieToss that simulates the tossing of two dice. When you call the function, it should generate two random numbers ranged in 1 to 6 and return the sum of the die's numbers. In the mail program, ask user how many times the dice s..

  Program to print out invalid number to character

The integer must contain 3 distinct non-zero number, or the program will print out invalid number.it should print out invalid query.

  Write a program that prints the day number of the year

Write a program that prints the day number of the year, given the date in the form month-day-year. For example, if the input is 1-1-2006, the day number is 1.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd