A = P (1 + r/n) (nt)
where P =5000
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