would be nice if someone could give me any feedback about this, it was different than what the professor made, and it works, but wanted to know if is practical or if it has any flaws in it that I have not noticed and that would make me get used to a bad habit
Anything iin particular you’re concerned about?
Also not sure why you have while (Ask() > 0); instead of just Ask() == true or even simpler Ask()? Why > 0? Seems strange.