1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Katyanochek1 [597]
3 years ago
7

Teachers in most school districts are paid on a schedule that provides a salary based on their number of years of teaching exper

ience. For example, a beginning teacher in the Lexington School District might be paid $30,000 the first year. For each year of experience after this first year, up to 10 years, the teacher receives a 2% increase over the preceding value.
Write a program that displays a salary schedule, in tabular format, for teachers in a school district.
The inputs are:

1. Starting salary
2. Annual percentage increase
3. Number of years for which to print the schedule
4. Each row in the schedule should contain the year number and the salary for that year

An example of the program input and output is shown below:

Enter the starting salary: $30000
Enter the annual % increase: 2
Enter the number of years: 10

Year Salary
-------------------
1 30000.00
2 30600.00
3 31212.00
4 31836.24
5 32472.96
6 33122.42
7 33784.87
8 34460.57
9 35149.78
10 35852.78
Computers and Technology
1 answer:
Evgesh-ka [11]3 years ago
8 0

Answer:

currentSalary = float(input("Enter the initial salary: $"))

raisePercent = float(input("Enter the annual % raise: "))

noOfYears = int(input("Enter the number of years: "))

print()

print("Year   Salary")

print("-------------")

for k in range(1,noOfYears+1):

   print(k,"\t",end="")

   print("%.2f"%currentSalary)

   currentSalary = currentSalary * (1+raisePercent /100)

Explanation:

The Program is developed on Python.

In this program, we define three variables to take inputs-

1. currentSalary for taking the starting salary.

2. raisePercent - for taking the %age increase.

3. noOfYears- for taking the number of years for which we need to calculate the salary.

The Logic for Calculation of salary for given years with the raise %age-

using a Loop starting from 1 to the number of years we multiplying every time the  

the %age raise in salary calculated as (1+ %age/100) to the current salary  

to get the salary per year then displaying it corresponding to the loop variable.

You might be interested in
It’s just a multiple choice question about emails
cestrela7 [59]
The Answer is : A, B , C .
7 0
3 years ago
Read 2 more answers
Networking is the most effective search method for finding job leads.<br> a. True<br> b. False
natima [27]
True.
This is due to most companies having online websites in our era
3 0
3 years ago
Read 2 more answers
What's -3(x – 4) =<br><br>A. -3x + 12<br><br>B. -3x + 4 <br><br>C. -3x - 4 <br><br>D. -3x - 12​
Igoryamba

Answer:

-3x + 12

Explanation:

In this problem we have to remove the brackets first. For that multiply the inside of the bracket by -3. when -3 multiply by x answer is -3x. and -3 multiply by the -4 answer is +12(minus value multiply by the minus value the answer we receive is we have to put as plus value.

  1. (-) x (-) = (+)
  2. (+) x (+) = (+)
  3. (+) x (-) = (-)
4 0
3 years ago
Designing the right elements for the tasks that the user is attempting to perform is called ________.
skelet666 [1.2K]

Answer:

Interface design

Explanation:

INTERFACE DESIGN are design that are carried out on either a computer or a mobile phone or other devices that will suit the users by designing the style of the devices and how the device will look like which will inturn enable the user to easily carried out or performed any tasks they are want to perform with easy and without any lapses which is why it is important for INTERFACE DESIGN to be design with the right tools that the user can easily understand in order to access and perform their tasks effectively.

6 0
3 years ago
Which of the following identifies your location in a document? I-beam Icon Insertion Point Pointing Arrow
Delicious77 [7]
The answer is Insertion Point. In Microsoft Word, the insertion point is the blinking vertical line in the document. It will identify the location where you can enter or alter text on the page. When creating a new document, the insertion point is located in the top-left corner of the document. 
8 0
3 years ago
Other questions:
  • True or false a computer network requires both hardware and software
    9·2 answers
  • Authorization is a set of rights defined for a subject and an object. They are based on the subject’s identity.a. Trueb. False
    9·1 answer
  • What kind of user training should be conducted to deal with the issue of noise. How do you strike a balance between being overwh
    12·1 answer
  • A vital step in maintaining an operating system is to regularly do what? Replace the hard drive. Organize the computer’s data. R
    11·2 answers
  • Which is the name of a note-taking method that can be used when watching a video? SQRW sticky notes charting highlighting
    13·2 answers
  • When you need to switch on an electrical current at a remote location, would you use a relay or an amplifier?
    10·1 answer
  • Can you distinguish between the following examples and determine which one is NOT creative work? a. software b. slogan c. screen
    15·1 answer
  • Which term accurately describes agile and devops
    5·1 answer
  • ...............is a personal computer that fits on desk.​
    5·2 answers
  • How do i delete cookies on a chromebook?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!