Susan is hired for a job, and her employer agrees to pay her every day. Her...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Susan is hired for a job, and her employer agrees to pay her every day. Her employer also agrees that Susan's salary is 1 penny the first day, 2 pennies the second day. 4 pennies the third day, continuing to double each day. Create a Python program that allows the user to enter the number of days that Susan will work and calculates the accumulated total amount of pay in dollar she will receive over that period of time. days-int(input('Enter the number of days Susan will work:')) startingSalary=.01 totalSalary=0 Susan is hired for a job, and her employer agrees to pay her every day. Her employer also agrees that Susan's salary is 1 penny the first day, 2 pennies the second day. 4 pennies the third day, continuing to double each day. Create a Python program that allows the user to enter the number of days that Susan will work and calculates the accumulated total amount of pay in dollar she will receive over that period of time. days-int(input('Enter the number of days Susan will work:')) startingSalary=.01 totalSalary=0
Expert Answer:
Answer rating: 100% (QA)
The program for the given problem is given below days intinputEnter the ... View the full answer
Related Book For
Intermediate Microeconomics and Its Application
ISBN: 978-0324599107
11th edition
Authors: walter nicholson, christopher snyder
Posted Date:
Students also viewed these accounting questions
-
Create a java program which allows the user to enter two values (Using JOptionPane) to be divided. The application catches an exception if either of the entered values is not an integer. Declare...
-
The odds against Ishaq getting hired for a job are 3 : 8. Determine the probability (a) Ishaq gets hired. (b) Ishaq does not get hired.
-
Write a Python program that allows the user to enter a four-digit binary number and displays its value in base 10. Each binary digit should be entered one per line, starting with the leftmost digit...
-
What future directions may be interesting for comparative studies in corporate governance?
-
The trial balance of Yellow Car Sales, Inc., at June 30, 2014, does not balance. The accounting records hold the following errors: a. Recorded a $600 cash revenue transaction by debiting Accounts...
-
An ideal gas initially at 20oC and 200 kPa has a volume of 4 L. It undergoes a quasi-static, isothermal expansion until its pressure is reduced to 100 kPa. Find (a) The work done by the gas, and (b)...
-
A student has to choose a menu consisting of a soup, a sandwich and a dessert from choices of 3 soups, 5 sandwiches and 2 desserts. How many ways can the student choose the menu? Use the Fundamental...
-
Prepare a performance report for the dining room of Barbaras Bistro for the month of February 2016, using the following data: Budgeted Data January February $4,300 $4,150 1,500 2,050 1,500 January...
-
Suppose a Summons and Complaint were filed on February 16, 2021 and personally served on the defendant on March 1, 2021, please calendar the following dates: a the day Proof of Service of Summons and...
-
Visit the website for the Congressional Budget Office (www.cbo.gov), follow the link to Budget and Economic Information, and look up the most current Monthly Budget Review. What is the CBOs estimate...
-
When a corporation sells its assets on the installment method prior to making a liquidation distribution of the installment notes, a shareholder receiving installment notes in a liquidation: Question...
-
Dividends of the company increases 7 0 % when economy expands and increases 2 0 % when economy contracts. There is 4 5 % probability that economy will contract next year. What is the probability that...
-
ABC Limited borrows $ 1 0 0 , 500 from a bank on the following terms: arrangement fees of $ 2 , 0 0 0 are charged by the bank and deducted from the initial proceeds on the loan; interest is payable...
-
A storeowner has a receivable in the amount of $ 5 , 0 0 0 from ABC Company that is overdue. The storeowner just found out that ABC is in financial difficulty and likely will not be able to pay. What...
-
A 0.50-kg particle has a speed of 5.0 m/s at point A and kinetic energy of 7.7 J at point B. (a) What is its kinetic energy at A? J (b) What is its speed at point B? m/s (c) What is the total work...
-
Fourier analysis tells us that a square wave y(t) with period and amplitude of one is given by the following sum of sine waves: y(t) = TU n sin (2nt) n n = 1,3,5,7,...,00 Write a VI that approximates...
-
Where a company has an 25% investment in an associate how are the company 's share of the associate's losses accounted for ? If the associate continues to make losses what happens to the investment...
-
For the following arrangements, discuss whether they are 'in substance' lease transactions, and thus fall under the ambit of IAS 17.
-
In this problem, you will see why the Equity Premium Puzzle described in Application 4.5 really is a puzzle. Suppose that a person with $100,000 to invest believes that stocks will have a real return...
-
Suppose that the demand for broccoli is given by Demand: Q = 1,000 5P where Q is quantity per year measured in hundreds of bushels and P is price in dollars per hundred bushels. The long-run supply...
-
Draw the following incentive contracts on the same graph, with gross profit (revenue minus costs for all inputs, not including payments to the manager) for the firm on the horizontal axis and manager...
-
A batch distillation facility has a bank of columns of Type 1 and another bank of Type 2. Type 1 columns are available for processing \(6,000 \mathrm{hr} /\) week, and Type 2 columns are available...
-
During the 2002 Winter Olympics in Salt Lake City, Utah, a local microbrewery received a rush order for 100 gallons of beer containing at least 4.0 volume \(\%\) alcohol. Although no \(4 \%\) beer...
-
Willy Wonka has engaged your consultation services to assist in the recipe formulation of a new brand of chocolate bar, weighing \(100 \mathrm{~g}\), which he plans to name "Super-choc." Each...
Study smarter with the SolutionInn App