I have a chain of if/else statements, and if I don’t input anything that I didn’t specify a reaction for in the chain, it automatically resorts to the last if statement in the chain.
I couldn’t find anything online so I simply tried
if (x === else)
println ("Error. Please try again")
But it didn’t work.
New contributor
6