I’m working on this code program, where if the user inputs their age, a textbox should tell them what stage of life they"re at. for example, if I put down 21, it should say, adult. How would I make the conditional statement for this, and where would I keep the conditional statement, on the textbox where the stage of life is being displayed, or on the input box where the age is inputed.
In the textbox, you can use conditionals that says When Input's value < {type a value}
then text = “Bla bla bla”.
You can use multiple conditionals like this for each specific value you want to create a different “stage of life”.
This topic was automatically closed after 70 days. New replies are no longer allowed.