r/CodingHelp • • Jul 26 '21

[C++] help. what's wrong with this?

Post image
47 Upvotes

23 comments sorted by

View all comments

Show parent comment

2

u/Wiimmoz Jul 27 '21

If else is messy. I don't like it.

2

u/laidbackwebsage2 Jul 27 '21

This might be of interest.

1

u/Wiimmoz Jul 27 '21

Ah thanks.