Effective January 1st of each year, Gabe receives a 5% raise on her previous year’s salary. She wants a program that both calculates and displays the amount of her raises for the next 3 years. Display...

1 answer below »
Effective January 1st of each year, Gabe receives a 5% raise on her previous year’s salary. She wants a program that both calculates and displays the amount of her raises for the next 3 years. Display the raise amounts in a user-friendly way. Display his total salary for the 3 years, as well.
The interface should be a GUI and please keep the coding simple.
Answered 1 days AfterApr 05, 2021

Answer To: Effective January 1st of each year, Gabe receives a 5% raise on her previous year’s salary. She...

Aditya answered on Apr 07 2021
140 Votes
from tkinter import *
from tkinter import messagebox
def interface():
def calculate():
try:
string_value = salary.get()
float_salary = float(string_value)
first_year_raise = 0.05 * float_salary
first_year_salary = float_salary + 0.05 * float_salary
second_year_raise = 0.05 * first_year_salary
second_year_salary = first_year_salary + 0.05 * first_year_salary
third_year_raise = 0.05*second_year_salary
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here