programming
Again every programming assignment must include the python program and a file with snap-shots of the program running like the case study. You should at least have two files uploaded.
1. Teachers in most school districts are paid on a schedule that provides a salary based on their number of years of teaching experience. 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 the starting salary, the percentage increase, and the number of years in the schedule. Each row in the schedule should contain the year number and the salary for that year.
2. The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment. Write a program that takes the purchase price as input. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items:
• the month number (beginning with 1)
• the current total balance owed
• the interest owed for that month
• the amount of principal owed for that month
• the payment for that month
• the balance remaining after payment
The amount of interest for a month is equal to balance * rate / 12. The amount of principal for a month is equal to the monthly payment minus the interest owed.
Hints: on formatting tabular data.
# type this in the console of python
for exponent in range(7,11):
print(exponent, 10 ** exponent) #then hit enter two times to see results
# also try print(“%-3d12d” % (exponent, 10 ** exponent))
#Right Justified
“%6s” % “four”
#Left Justified
“%-6s” % “four”
#for float %<field wisth>,<presision>f
“%6,3f” % 3.14
#observe the results
7 years ago
5
- Using your favorite search engine, locate the websites for two research firms. Conduct a review of the services offered by these two different research firms. What types of tools do they use, and how effective are those tools? Then, write an essay respond
- International Management (Assignment 4)
- Psychology - I need an expert in psychology or paper summary
- c#
- Unit I Scholarly Activity Windows vs Mac OS Apple’s Mac OS is a major competitor for Windows, and many people feel very strongly about choosing one over the other. For this assignment, locate articles online that discuss the differences between Windows an
- Week 6 Discussion and Assignment A-Plus ONLY!!!!!
- COMMENT KARAN
- 1 page dic
- Building a Training Program
- Genentech is a leading bio-tech firm in the Greater San Francisco area that is considered a pioneer in recombinant DNA technology.The company specializes in discovery, development, manufacture, and commercialization of medicines to treat patients with ser