So I need help with java, what is considered a class level variable? is double or string considered one?

The program i make will determine how many monmths it will take to pay off that loan, what the final payment will be, and how much interest total I will have to pay. for example

** Welcome to the consumer loan calculator**
How much to do you want to borrow? 1000
What is the annual interest rate expressed as a percent? 18
What is the monthly payment amount? 50

ANSWER: Your debt will be paid off after 24 months, with a final payment of just 47.83. The total amount of interest you will pay during that time is 197.83.

Register New Account
Reset Password