Write a program to solve a simple payroll calculation

Assignment Help Basic Computer Science
Reference no: EM13982820

Write a program to solve a simple payroll calculation. Find the amount of pay given, hours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.) Use these values to test the calculation: 

Problem 1A (hours = 30 and rate = 8.52) and Problem 1B (hours = 53 and rate = 11.54) Display hourly rate, hours worked, and pay. Use the print command and make basic mathematical calculations. Note that these values should only be used to test your solution. They should not be constant values. Get the actual values as user input.

Reference no: EM13982820

Questions Cloud

Find fundamental frequency of vibration of a telephone line : Estimate the fundamental frequency of vibration of a telephone line between adjacent poles. Assume the distance between poles is 50 m and tension ot the wire is 200 N.
Is there a relationship between ebcdic character : Is there a relationship between EBCDIC character representation of the decimal digits from 0 to 9 and their BCD representation? Explain.--Consider a hypothetical computer system. A two-byte memory space is used for a sign-and-magnitude representation..
Is the magnitude of the angular momentum of the disk : Suppose that the disk were removed, as shown at right. Would the magnitude of the angular momentum of the puck be greater than, less than, or equal to that of the puck-disk system in parts a and b? Explain.
Provide a reasonable estimate of the nominal interest rate : The maturity premium is estimated by the difference between the average yield on 30-year Treasury bonds and 3-month Treasury bills.
Write a program to solve a simple payroll calculation : Write a program to solve a simple payroll calculation. Find the amount of pay given, hours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.) Use these values to test the calculation:
Give journal entries to record the above transactions : Give journal entries to record the above transactions. State and justify any assumptions you made. Prepare the shareholders' equity section of the SFP at year-end. Net earnings and comprehensive income was $216,400.
Role in defining healthcare documentation : Go to Accreditation Association for Ambulatory Health Care (AAAHC) http;//www.aaahc.org/ and In a brief summary, outline what type of organization it accredits or reviews and its role in defining healthcare documentation.
What the service provides : What the service provides. - Type of service (SAAS, PAAS, IAAS), it may be more than one. Justify your assessment using the NIST definitions. - Does it meet the 5 essential characteristics of cloud computing listed by NIST. Justify your assessment.
Find the proportion of working days : Find the proportion of working days in which anywhere from 750 to 850 tons is mined. Find the probability that on a given day, the yield will be below 665 tons.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explain an increase in spending on items related to hardware

Amend the Riordan IT budget, according to the following requirements- An increase in spending on items related to hardware, software, and outside IT support services by 4 percent

  How to do electronic configuration

How to do electronic configuration

  Brand of low-calorie microwavable food estimated

Questions 1 through 5 are based on the following scenario (adapted from Chapter 5 demand estimation question number 3, p.163) The maker of a leading brand of low-calorie microwavable food estimated the following demand equation for its product usi..

  User and system passwords

Application: Password Scan User and system passwords, in theory, should be relatively easy to remember and be hard to guess (which includes avoiding common words susceptible to a "dictionary" attack). Many sites require that passwords conform to rule..

  Installation options for customer tracking system

Which installation options are available for the Customer Tracking System? Which would you recommend? How can you determine if implementation has been successful?

  Write a program to determine the answers of the square root

How do you write a program to determine the answers of the square root of 30, the sine and cosine of 100, the value of the floor, ceiling, and round of 44.7, and the larger and the smaller of the character K and the integer 70? In Java code

  Design a nine-step counter to count using d flip-flops

Design a nine-step counter to count in the following sequence using D flip-flops (TTL 74704) on a breadboard and on verilog: 0011, 0101, 1001, 1000, 1011, 1010, 0110, 0100, 0111, 0011, ... Include in the design a means for resetting the counter to 00..

  Access point connectivity statistics collected

Minimum two paragraphs that summarizes your learning and concludes your accomplishments in the lab.

  Both the userid and the person''s full name

a report and not just a listing:The report might be created with awk but it should have a heading. it should list both the userid and the person's full name (a person's fullname can be found in /etc/passwd file)

  How much of program-s time slice can be spent waiting

Desired data to rotate around to the read/write head, how much of a program's time slice can be spent waiting for a read operation from a disk to take place?

  Write name of storage location involved in the code

Recognize each dependency by type; write the two instructions involved; recognize which instruction is dependent; and name storage location involved.

  Database distribution strategy/simple database application

For this assignment, you will design and develop a distributed database infrastructure for an organization of your choice. You may use the database you created in another unit or you may choose to create a new database to work with for this assign..

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