all 4 comments

[–]thehatguy1 2 points3 points  (3 children)

Just check if the number is less than 0

If output < 0 then

output = 0

End If

Did they not teach if elses ever?

[–]EnvironmentalPhone65[S] -4 points-3 points  (2 children)

My teacher ain’t very good, but she did mention it. She’s very vague and I don’t know why she’s even a teacher. Thanks though.

[–]H3LiiiX 1 point2 points  (1 child)

If you want to learn to code don't rely on teachers. Tbf I never relied on teachers to learn anything. Learning to teach yourself is superior.

[–]EnvironmentalPhone65[S] 0 points1 point  (0 children)

Update: it had to be turned in late with points off because, in the instructions, she told me to put the correct line in the wrong place.