Im just starting out in programming,
need help with assignment that was given to me today.

Im suppose to develop a program that will show the interest of a loan over time.
-----------------------------------------------------------
Principal is the loan amount (e.g, 200.50), rate is the interest rate percentage (e.g., 3.9), and time is the duration of the loan in years (e.g., 2). You will need to prompt the user to enter the principal, rate and time. Use the following data types to store the data:

Interest (Double)
Principal (Double)
Rate (Double)
Time (Integer)

After calculating the interest, your program should display it in the format shown below:

The interest paid on $200.50 is : $15.64
-----------------------------------------------

Im still quite confused on on how to write this. Can someone code this and explain steps? Please i need help. Thank you very much if you help.