floating point number in c++ code example
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;