Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
JuPaHe64
Posts
Comments
C
C#
•
Created by Staynk on 3/5/2025 in
#help
✅ Spent almost an hour trying to independently get this right and it’s not clicking for me.
well you would of course increment currentFloor instead of floors
192 replies
C
C#
•
Created by Staynk on 3/5/2025 in
#help
✅ Spent almost an hour trying to independently get this right and it’s not clicking for me.
with that change that code should work
192 replies
C
C#
•
Created by Staynk on 3/5/2025 in
#help
✅ Spent almost an hour trying to independently get this right and it’s not clicking for me.
cause floors will never be below 0 unless you have bad input
192 replies
C
C#
•
Created by Staynk on 3/5/2025 in
#help
✅ Spent almost an hour trying to independently get this right and it’s not clicking for me.
more like currentFloor < floors
192 replies