Program to compute person earns in a month

Assignment Help Programming Languages
Reference no: EM1344780

Q1) Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day, and so on with the daily pay doubling each day the employee works. The program should ask the user for the number of days the employee worked during the month and should display a table showing how much the salary was for each day worked, as well as the total pay earned for the month. The output should be displayed in dollars with two decimal points.

Reference no: EM1344780

Questions Cloud

What distance must the airbag stop : Automobile Airbags. The human body can survive an acceleration trauma incident (sudden stop) if the magnitude of acceleration is less than 250m/s2.
Firm gives a stock option to employees : Which of the following is an acceptable method of accounting for employee stock options and  Which is the date when a firm gives a stock option to employees?
Find the net cash flows from operating activities : The following data reflects cash flow & other activities of Framer Company for 6-months ended June 30
Calculate the surface tension of the gas : Consider N atoms confined on a surface of area A at temperature T. The atoms form a two-dimensional (2D) gas of classical, non interacting particles.
Program to compute person earns in a month : Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day.
Describe what is the value of the firm : Find what will the value be if Corrado converts to 50% debt and evaluate what will the value be if Corrado converts to 100% debt?
Determine the business risk and the financial risk : Suppose that a firm has following Income Statement. Use this information to estimate the business risk and the financial risk as measured by the degree of operating leverage.
How far to the right of support is the planks center gravity : A 54 N crate is suspended from the left end of a plank. The plank weighs 21N, but it is not uniform, so its center of gravity does not lie halfway between the two ends. The system is balanced by a support that is 0.3m from the left end of the plan..
What is the maximum reaction time : A plastic ball in a liquid is acted upon by its weight and by a buoyant force. The weight of the ball is 4.8N. The buoyant force has a magnitude of 6.5N and acts vertically upward. External force acting on the ball maintains it in the state of res..

Reviews

Write a Review

Programming Languages Questions & Answers

  Implementing class called card for standard playing card

Design and implement a aclass called Card that represents a standard playing card. each card has a suit and a face value.

  Two-level memory cache hierarchy

Explain how you would pipeline the four following pairs of statements.

  Program to write variable declarations and function calls

Write a program whose main function is merely a collection of variable declarations and function calls. This program reads a text and outputs the letters, together with their counts.

  Program for insertion sort and selection sort algorithms

Write a program involving the insertion sort, merge sort and selection sort algorithms.

  Show how the tree might be type-checked

Attempt to derive proof tree for the judgment Show how the tree might be type-checked

  Explaining variable in an arrays of ints

Assume that variable A is an arrays of ints. Consider the following code segment.

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Explaining data-driven multicast routing paradigm

The data-driven multicast routing paradigm works best on local networks that have low delay and excess capacity, while the demand driven paradigm works best in a wide are environment.

  Object-oriented analysis and design

Object-Oriented Analysis and Design,  PART B-object-oriented design involves the steps 13-18:

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Subdividing address block among four different customers

The ISP needs to subdivide the address block among four different customers, requiring 29, 28, 27, and 26 hosts respectively.

  Formula translation

Write a c code that will evaluate the roots of a quadratic equation

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