Im comming from C++.
This code:
int main() {
int age;
std::cout << "Type your age: ";
std::cin >> age;
return 0;
}
Would produce something like this on terminal:
Type your age: _
I can enter the age value on the same line of the message.
How can I achieve the same result in Haskell?