Program to calculate compound interest and total amount

If the user want to calculate compound interest and total amount at the end of the period this program is useful.User will ask to enter the principle amount, rate of interest and period.After entering the values user will get calculated compound interest and total amount.If user wants to continue for another amount, user can!