Sample Program Run: Enter a salary: 30000 Raise rate: 4% Year: 1, Raise: $1200.00, Salary: $31200.00...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Sample Program Run: Enter a salary: 30000 Raise rate: 4% Year: 1, Raise: $1200.00, Salary: $31200.00 Year: 2, Raise: $1248.00, Salary: $32448.00 Year: 3, Raise: $1297.92, Salary: $33745.92 Year: 4, Raise: $1349.84, Salary: $35095.76 Raise rate: 5% Year: 1, Raise: $1500.00, Salary: $31500.00 Year: 2, Raise: $1575.00, Salary: $33075.00 Year: 3, Raise: $1653.75, Salary: $34728.75 Year: 4, Raise: $1736.44, Salary: $36465.19 Raise rate: 6% Year: 1, Raise: $1800.00, Salary: $31800.00 Year: 2, Raise: $1908.00, Salary: $33708.00 Year: 3, Raise: $2022.48, Salary: $35730.48 Year: 4, Raise: $2143.83, Salary: $37874.31 Enter a salary: 50000 Raise rate: 4% Year: 1, Raise: Year: 2, Raise: Year: 3, Raise: Year: 4, Raise: Raise rate: 5% Year: 1, Raise: Year: 2, Raise: Year: 3, Raise: Year: 4, Raise: Raise rate: 6% $2000.00, Salary: $52000.00 $2080.00, Salary: $54080.00 $2163.20, Salary: $56243.20 $2249.73, Salary: $58492.93 Enter a salary: 0 Good bye! $2500.00, Salary: $52500.00 $2625.00, Salary: $55125.00 $2756.25, Salary: $57881.25 $2894.06, Salary: $60775.31 Year: 1, Raise: $3000.00, Salary: $53000.00 Year: 2, Raise: $3180.00, Salary: $56180.00 Year: 3, Raise: $3370.80, Salary: $59550.80 Year: 4, Raise: $3573.05, Salary: $63123.85 Sample Program Run: Enter a salary: 30000 Raise rate: 4% Year: 1, Raise: $1200.00, Salary: $31200.00 Year: 2, Raise: $1248.00, Salary: $32448.00 Year: 3, Raise: $1297.92, Salary: $33745.92 Year: 4, Raise: $1349.84, Salary: $35095.76 Raise rate: 5% Year: 1, Raise: $1500.00, Salary: $31500.00 Year: 2, Raise: $1575.00, Salary: $33075.00 Year: 3, Raise: $1653.75, Salary: $34728.75 Year: 4, Raise: $1736.44, Salary: $36465.19 Raise rate: 6% Year: 1, Raise: $1800.00, Salary: $31800.00 Year: 2, Raise: $1908.00, Salary: $33708.00 Year: 3, Raise: $2022.48, Salary: $35730.48 Year: 4, Raise: $2143.83, Salary: $37874.31 Enter a salary: 50000 Raise rate: 4% Year: 1, Raise: Year: 2, Raise: Year: 3, Raise: Year: 4, Raise: Raise rate: 5% Year: 1, Raise: Year: 2, Raise: Year: 3, Raise: Year: 4, Raise: Raise rate: 6% $2000.00, Salary: $52000.00 $2080.00, Salary: $54080.00 $2163.20, Salary: $56243.20 $2249.73, Salary: $58492.93 Enter a salary: 0 Good bye! $2500.00, Salary: $52500.00 $2625.00, Salary: $55125.00 $2756.25, Salary: $57881.25 $2894.06, Salary: $60775.31 Year: 1, Raise: $3000.00, Salary: $53000.00 Year: 2, Raise: $3180.00, Salary: $56180.00 Year: 3, Raise: $3370.80, Salary: $59550.80 Year: 4, Raise: $3573.05, Salary: $63123.85 Sample Program Run: Enter a salary: 30000 Raise rate: 4% Year: 1, Raise: $1200.00, Salary: $31200.00 Year: 2, Raise: $1248.00, Salary: $32448.00 Year: 3, Raise: $1297.92, Salary: $33745.92 Year: 4, Raise: $1349.84, Salary: $35095.76 Raise rate: 5% Year: 1, Raise: $1500.00, Salary: $31500.00 Year: 2, Raise: $1575.00, Salary: $33075.00 Year: 3, Raise: $1653.75, Salary: $34728.75 Year: 4, Raise: $1736.44, Salary: $36465.19 Raise rate: 6% Year: 1, Raise: $1800.00, Salary: $31800.00 Year: 2, Raise: $1908.00, Salary: $33708.00 Year: 3, Raise: $2022.48, Salary: $35730.48 Year: 4, Raise: $2143.83, Salary: $37874.31 Enter a salary: 50000 Raise rate: 4% Year: 1, Raise: Year: 2, Raise: Year: 3, Raise: Year: 4, Raise: Raise rate: 5% Year: 1, Raise: Year: 2, Raise: Year: 3, Raise: Year: 4, Raise: Raise rate: 6% $2000.00, Salary: $52000.00 $2080.00, Salary: $54080.00 $2163.20, Salary: $56243.20 $2249.73, Salary: $58492.93 Enter a salary: 0 Good bye! $2500.00, Salary: $52500.00 $2625.00, Salary: $55125.00 $2756.25, Salary: $57881.25 $2894.06, Salary: $60775.31 Year: 1, Raise: $3000.00, Salary: $53000.00 Year: 2, Raise: $3180.00, Salary: $56180.00 Year: 3, Raise: $3370.80, Salary: $59550.80 Year: 4, Raise: $3573.05, Salary: $63123.85
Expert Answer:
Answer rating: 100% (QA)
Heres a simple Python program that simulates the salary raise calculation based on the ... View the full answer
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date:
Students also viewed these programming questions
-
A survey of information systems managers was used to predict the yearly salary of beginning programmer/analysts in a metropolitan area. Managers specified their standard salary for a beginning...
-
A researcher wanted to find out if there was difference between older movie goers and younger movie goers with respect to their estimates of a successful actors income. The researcher first...
-
Provide javascript code as the solution: 1. [Function name must be given anaToVori]: Ana will be taken asa parameter in a function (ana). Then convert it to Vori and returnthe value. Only the number...
-
For the standard deductions, there are specified contribution tables to be followed as discussed in the previous modules. More examples: 1. Compute for Tita Pau's monthly, semi-monthly, weekly and...
-
Deborah purchases a new $32,000 car in 2016 to use exclusively in her business. If Deborah does not elect to expense but does take bonus depreciation in 2016 and holds the car until it is fully...
-
In Exercises 39 through 42, first obtain the composite functions f(g(x)) and g(f(x)), and then find all numbers x (if any) such that f(g(x)) = g(f(x)). f(x) 2x + 3 x-1' g(x) x + 3 x-2
-
Using an incremental internal rate of return (IRR) analysis, the decision to replace the "current best" by the "challenger"' is based on what decision rule? a. The internal rate of return of the...
-
Pine Knoll Wood Products Company prepared the following factory overhead cost budget for the Press Department for February 2008, during which it expected to require 10,000 hours of productive...
-
Find the value of an investment of $14,771 for 14 years at an annual interest rate of 5.27% compounded continuously.
-
Let A = {a, b, c}. The relation R is defined from A to A as follows R = {(a, b), (a, c), (b, c), (c, a)}. a) Explain why R is not a function, then find R1 R such that R1 is an injective function. b)...
-
You are assigned to the audit of Computek Electronics Limited, a subsidiary company of Las Vegas Group Corporation (USA) Limited. Computek Electronics Ltd. is a wholly owned subsidiary of a US...
-
Complete the following: 1. Open the workbook named Raider.xlsx and save the file as Raider Analysis (Last Name).xlsx. 2. Create a series of charts that compare gas prices by time of the year and by...
-
Use EES to solve the problem below for the variable x x3 - y=5.9 3xy+y=3.5 The value of x computed using EES is
-
Victoria Muir says years of contract work and a lack of supports in the workplace led to her mental breakdown. Muir is a contract worker for the City of Toronto, and the union that represents her...
-
Consider the graph shown. 1. Does it have an Euler circuit? 2. Does it have an Euler path? 3. Does it have a Hamilton circuit? 4. Does it have a Hamilton path? 7 15 8 12 2 5 13 16 10 14 17
-
What is the direction and magnitude of the magnetic field at point P, at the center of the loop? I = 3.0 A R = 4.0 cm
-
The text defined intrinsic value as the value of an asset given a hypothetically complete understanding of the assets investment characteristics. Discuss why hypothetically is included in the...
-
In Programming Exercise 9.7, the Account class was defined to model a bank account. An account has the properties account number, balance, annual interest rate, and date created, and methods to...
-
Find the first ten numbers with 50 decimal digits that are divisible by 2 or 3.
-
The split method in the String class returns an array of strings consisting of the substrings split by the delimiters. However, the delimiters are not returned. Implement the following new method...
-
Consider the system of Fig. P4.4-5. The filter transfer function is \(D(z)\). (a) Express \(C(z)\) as a function of \(E\). (b) A discrete state model of this system does not exist. Why? (c) What...
-
Find the \(z\)-transform of the following functions. The results of Problem 4.5-3 may be useful. (a) \(E(s)=\frac{6 \varepsilon^{-0.3 T s}}{(s+1)(s+2)(s+3)}\) (b) \(E(s)=\frac{4 \varepsilon^{-0.6 T...
-
Consider again the system of Fig. P4.4-5. Add a sampler for \(E(s)\) at the input. Given \[ G_{1}(s)=\frac{1}{s+10} \quad D(z)=\frac{z-0.5}{z-1} \quad G_{2}(s)=\frac{s}{s^{2}+9 s+23} \] find \(c(k...
Study smarter with the SolutionInn App