Using “if”

The conditional if is a function you can use so that the program you are creating, can interact with the user, in case the user enters information, the conditional if will OR will not perform another order given.

In this case, I’m asking to guess my age, if you guess it, it congratulates you. =)

CC BY 4.0 Using “if” by Salvador García is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.