how to make a float in C++

C#
public float whatYourFloatIsCalled = 0;
public float whatIsYourFloat;
Source

Also in C#: