else statement - ProgrammerTech
Language:

Search

else statement - ProgrammerTech

You can perform the inverse of the condition. If the condition returns false, that is, the condition is not met, in which case you can specify certain things within the source code or the code. For example, if the first condition is not met, or if the data you save k is less than 1, you can use else.