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

  Discuss five of top current it issues in higher education

Discuss Five of the top current IT issues in Higher Education

  Population distribution is exactly normal

The most important condition for sound conclusions from statistical inference is usually

  Explaining dns zone in secure dynamic updates

If a DNS zone accepts only secure dynamic updates and the DHCP server is a member of the DnsUpdateProxy security group.

  Agile project management

Explain what your iteration 0 would accomplish after your feature-story example is released.

  System development methodologies in information systems

There are literally thousands of system development methodologies in the Information Systems field. Suggest some reasons why there might be so many.

  Write an expression that divides distance

Given two integer variables distance and speed , write an expression that divides distance by speed using floating point arithmetic, i.e. a fractional result should be produced.

  Iscuss why or why not string and array of ints serializable

Discuss why or why not a string and an array of ints are serializable

  Evaluate the equality of the scrutinized laws

Evaluate the equality of the scrutinized laws discussed in this assignment compared to other more globally accepted laws across countries. Provide an example to support your response.

  Designing and prototyping a network

You are tasked with designing and prototyping a network for example.com, a national electronics retailer. Example.com currently has four regional stores (Nth, Sth, Eas, Wes) but has plans to expand as finances and their customer base permits.

  How to operate a computer system

Compose a letter to simon on how to operate a computer system

  Hydrogen development project

This exercise begins with information for a Hydrogen Development Project. Working in Microsoft Project, you will create the task list, including summary tasks and their sub-tasks, create links between tasks and their predecessors, add resources, a..

  You may have observed such a situation before a highly

you may have observed such a situation before a highly publicized and outrageous crime has taken place and the suspect

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