I'm giving one hundred points, and marking brainliest for the answer that helps! I cant do python, please write the correct code for all these problems, if you know python:
8. Calculate compound interest using following formula
A = P (1 + r/n) (nt)
where P =5000
r= 5%
n=12
t=10
9. Write a program to calculate an individual's gross pay.
Gross pay equals hourly pay rate times number of hours worked.
10. Write a program to swap the values of two variables.
For example: If variable a = 40 , b = 50 but after swapping the values will interchange a will become 50 and b will become 40