Program to solve a simple payroll calculation

Assignment Help Basic Computer Science
Reference no: EM131073578

Problem 1: 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.

Problem 2: Write a program that will calculate the average miles per gallon obtained on a trip. Input the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles per gallon = number of miles driven / amount of gas used. ) Use these values to test the calculation: Problem 2 (number of miles driven = 298) and (amount of gas used = 12.17). Use the print command and make basic mathematical calculations.

Reference no: EM131073578

Questions Cloud

Which is expected to increase at an average rate : Enrite Gas recently paid a $4.75 annual dividend on its common stock, which is expected to increase at an average rate of 3.5% per year. If the stock is currently trading for $39.33 per share, what is its market rate of return?. Town Bagel common sto..
Problem regarding the business intelligence tools : Identify a commercially available or open-source business intelligence tool and the type of business performance information it provides. Do not repeat an example that has been posted by another student.
Purchase one share of stock in lion equity : Lion Equity paid an annual dividend of $3.25 per share last month, and it is anticipated that future dividends will increase by 4% annually. As a shareholder, if you require a 12% return on your investment in Lion Equity, how much are you willing pay..
Level of dividend every year for the time being : The Clark Group pays an annual dividend of $5.80 per share. The economy is tough but Clark promises to continue maintaining this level of dividend every year for the time being. How much are you willing to pay for one share of this stock is you want ..
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.)
The family wishes to consider issuing debt : Stint on Vintage Wine Company is currently family owned and has no debt. The Stint on family is considering going public by selling some of their stock in the company. Investment bankers tell them the total market value of the company is $10 milli..
Compute the sensitivity analysis of changes in parameters : Using MS Excel, compute the sensitivity analysis of changes in parameters (+/- 50%, steps of 10%), one at of the following data: •Initial investment: 15000. •MARR:10%. •Yearly Savings: $6,000. Using MS Excel and the data of the prior problem, compute..
How do feel about discretionary ability of police officers : It has been shown that police officers have a huge amount of discretion. Discuss the discretionary use of police authority and define discretion. How do you feel about the discretionary ability of police officers?
Solutions help in making decisions : Discuss what is meant by creative middle way solutions. How do these solutions help in making decisions? Please use at least 75 words, nothing copied and pasted from online or plagiarized.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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