#include <iostream>
using namespace std;
int main()
{
double number;
while(number <= 100)
{
cout << number << endl;
number++;
}
return 0;
}
I understand that I need to initialize the variable, but out of curiosity, why does the compiler print out this very small number at the beginning of the output?