Day 3 - int vs. float vs. double
There are situations when a doesn't have to be integer.
Uff! I 'll have to change the preveous type int to float.
But float is not good, it's to small.
Let it be double.
And now it looks like this:
class MyClass
{
public:
MyClass( double P_a ): M_a( P_a ){}
void clac(){ std::cout << "Do not disturb! calc in progress ..." << std::endl; }
private:
double a;
};
I did well this time.
Another minor change.
And it all began at char-a.