Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

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 After Apr 05, 2021

Solution

Aditya answered on Apr 07 2021
156 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