I NEED HELP! (please and thank you).
I have an assignmet for extra points. I'm lost. Out profesor is not explaining anything and the assignments are NOT what we covered so far (which isn't much). I could use any help I can get. I've been trying to google it and how to use functions and i'm helpless. I heard a lot about this forum, so here I am!
The assignment says: In recent years, college tuition has risen at a national average annual rate of 15%.
a) Write the function definition of this function heather:
def Tuition(current, thisYear, targetYear):
This function takes three arguments: the current tuition, the current year (e.g., 2013) and the target
year (e.g., 2020). It returns the tuition of the target year by repeatedly multiplying the starting tuition
by 1.15 (115 %).
b) Write a main that will repeatedly get the current tuition, current year, and the target year from the
user and display the resulting tuition, until the user enters zero for any of the three values. Test and
debug your program.
c) When your program and function are working correctly, run them with this set of data:
4500.00 2013 2017 (R1 tuition/fees)
2000.00 2013 2019 (State tuition/fees)
12000.00 2013 2027 (mid-range private tuition)
0.0 0 0
please feel free to teach me and give me pointers on how to start working on this. feel fre to email me directly on WaseemAbuRakia@gmail.com