I didn't check your code, but you can use the COMPOUND function in SAS to do this, and then you will be sure the answer is correct. Or you can compare your results to what the COMPOUND function says.
I didn't check your code, but you can use the COMPOUND function in SAS to do this, and then you will be sure the answer is correct. Or you can compare your results to what the COMPOUND function says.
By the way, it seems to me that in your code, the interest rate is 10% per month, is that really what you wanted?
-- Paige Miller
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.