First time using C++, so I was meddling around with some code.
I\'m using Visual Studio 2019, so when I ran this:
int main() { double d = 0; while (cin>