TuitionIncrease
At one college, the tuition for a full-time student is $8,000 per semester. It has been announced that the tuition will increase by p percent each year for the next n years. Write a program with a loop that prints the projected semester tuition amount for the next n years with a p percent increase. (print out should be 2 decimal places)
WeightLoss
If a moderately active person cuts their calorie intake by 500 calories a day, they can typically lose about 4 pounds a month. Write a program that has a starting weight as startWeight, then prints out their weight after n months if they stay on this diet.
FactorialOfNumber
In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of all the nonnegative integers from 1 to n. For example,
7! = 1x2x3x4x5x6x7 = 5,040 and 4! =1x2x3x4 = 24
Write a program that uses user_input as a nonnegative integer and then uses a loop to calculate the factorial of that number. Print out the factorial