While Loops C#
Go to solution
Solved by minibois,
8 hours ago, Sakuriru said:This code has two bugs.
- The greater than or equal to symbol is ">=" and not "=>".
- When input is less than zero it will include it in the total calculation.
If I told you I included those errors on purpose, so OP still had to debug some code, would that be believable?
No? Okay..
/s
Thanks for the corrections, I just kinda typed that code on the spot and it's clear I rely a bit on Visual Studio showing me a red line when doing stuff like "=>", lol.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now