Interest Calculator

Usage

  • Users can enter the principal amount in the "Principal Amount", "Annual Interest Rate (%)" and "Number of Years" in the input field.
  • Users can click the "Calculate" button to compute the interest based on the entered values.
  • Users can see the calculated interest displayed below the "Calculate" button once the calculation is complete.
  • Users can see an error message if any of the input fields are left empty or contain invalid values.