example of proper floating-point number c++
Example 1: how to make a float in C++
public float whatYourFloatIsCalled = 0;
public float whatIsYourFloat;
Example 2: float in c++
float contains less storage than a double.
float p = 25.0;
double p = 25.0;