Please answer in C++
Construct a class named savings containing three floating-point data members named balance, rate, and interest and a constructor that initializes each data member to 0. Include a member function that inputs a balance and rate and then calculates an interest. The rate should be stored as a percent, such as 6.5 for 6.5%, and the interest is computed as interest =(balance) (rate/100). Add a member function to display all data member values.
thanks
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here