This code is good?

I made the exercise and Well… my code worked but it’s different from the professor’s example. I just want to know if this code is fine. Thx!

PS. I prefer not to use namespace.

THE CODE:

If it works, that’s great! As a rule, you don’t need the same code.

1 Like

It’s a better way to call the function twice from the main function instead of
typing the code twice in the Guessing function.

Privacy & Terms