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...


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



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here