Design program to calculate amount of money spend

Assignment Help Programming Languages
Reference no: EM1361091

Design a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, and continues to double each day. The program should ask the user for the number of days.

Display a table showing what the salary was for each day, and then show the total pay at the end of the period. The output should be displayed in a dollar amount, not the number of pennies.

Reference no: EM1361091

Questions Cloud

Discuss the primary purpose of an organization : Discuss and explain the differences in functions between the Accounting Department of a firm, its Finance Department and its outside accounting firm.
Explain the five approaches to performance management : Explain the five approaches to performance management and the specific techniques used in each approach
Do low carbohydrate diets work : Low-Carbohydrate Diets Do you think low-carb dieting works? If so, why? Provide an analysis of the potential health effects of long-term, low-carbohydrate diets.
Show what effect the contractionary policy : What output market with the appropriate starting position and show what effect the contractionary policy would have in the output market.
Design program to calculate amount of money spend : Design a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day.
What is the magnitude of the net force on the student : What is the magnitude of the net force on the student.What is the magnitude of contact force on the student by the backpack.
Examine and discuss the pros and cons of ethical concerns : Examine and discuss the pros and cons of these ethical concerns for all parties involved
Company mission-vision and stakeholders : Strategic management starts with vision and mission. It consists of the analysis, decisions, and actions an organization undertakes in order to create and sustain competitive advantages
Obesity in america : The subject of the outline should be "Obesity in America". Additionally, if you have a paragraph or two on this subject that would help too.

Reviews

Write a Review

Programming Languages Questions & Answers

  Explain drawbacks to using ajax technology

What are some of the other drawbacks to using AJAX technology? Why are some of these very significant items to consider before implementing AJAX on a given website?

  Timer interrupt to coordinate peripherals on microcontroller

The timer interrupts to coordinate peripherals on the microcontroller. Use code from prior labs to drive the peripherals and will make minor modifications to use the interrupts.

  Deisgn child class that overrides parent method

Deisgn child class named Box, that contains additional data field named depth and a computeSurfaceArea() method that overrides the parent method appropriately for a three-dimensional box

  Write a program to print average grade of student

Write a program that read the grades.txt file and then prints the average grade of male and female students and the number of passed students by using the functions.

  Program to read employee information into array of objects

Consider a program that will read employee information into an array of objects, sort the array by employee identification number, write out the sorted array.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Pseudocode of program that will prompt user for number

Write pseudocode and flowchart for a program which will prompt user for a number, prompt the user for an operator (+,-,*,/), prompt the user for another number.

  Produce a project plan

Produce a project plan and an interim description of the project development

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

  Explaining steps to execute branch instruction

Sketch a flow chart which carefully explains steps that little man follows to execute a branch instruction.

  Function to responds- to click anywhere on page-display box

Write a function that responds to a click anywhere on the page by displaying an alert dialog. display the event name if the user held shift during the mouse click.

  Create logic for application for user for order information

Create the logic for an application that continuously prompts a user for order information until the user enters "ZZZ" for the customer name or 10 orders.

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