text: program to find simple interest using class in c++? please help me,i will give you 10 points.please write the code of c++ using class i'd love to help you, but i'm not sure what you're looking for.  part of the problem, perhaps, is that while i'm a good computer programmer with 12+ years programming in c++ i'm really lousy with finances and i'm not sure i could work out interest by hand.  but even if i could, it makes no sense to develop this as a class if you don't have either related functions or persistant data.  i can't envision this taking more than one function to implement unless you stretch it some.  but if you were to stretch it, try this:  class interestcalculator { public:    interestcalculator()  {setrate(0.05);}    void setrate(double r) {rate = r;}   //add error checking here    double calcinterest(double money, int months);  private:    double rate; };  int main() { interestcalculator calc;  calc.setrate(0.10); //set rate to 10 percent;  cout << "$500 for two years at a 10% rate has an interest of " << calc.calcinterest(500, 24) << endl; }  now, that's a rather contrived solution, designed to use a class even where it makes little sense to do so.  i don't know if this helps or not. i've left the implementation of calculating the interest rate to you (as i said, i'm not sure how to do it even by hand).  if you have more information on what else the class should do so that it makes more sense as a class, modify your question here or shoot me an e-mail and i'll see what help i can be.  good luck.