❔ 1-100 except 40 and 60
Hello could anyone help me make a simple code that will write out numbers 1-100 except 40 and 60 please
4 Replies
if (number != 40 || number != 60)
Console.WriteLine(number)
thanks
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.