C
C#3mo ago
Ewan

✅ Line 36 Help!

On line 36 i cant make it so that i write if cheese = 50 but when i use console.writeline cheese it outputs 50. it has the error message cannot convert int to bool, why? help please!
3 Replies
Ewan
Ewan3mo ago
BlazeBin - mgtmqticgtbr
A tool for sharing your source code with the world!
Jimmacle
Jimmacle3mo ago
there is a difference between = and == the first one assigns the value to the variable, the second one checks if the variable is equal to the value
Ewan
Ewan3mo ago
IM SO DUMB THANK YOU :catlove: