Ask for an age and say whether they're an adult.
DecisionsBeginner
Built from 3 kinds of block, between Start and End. Each one has a guide.
B4Coder writes the same program as real code. Change the flowchart in the editor and the code changes with it.
age = int(input("What is your age? "))if age >= 18: print("You are an adult")else: print("You are a minor")How each block becomes code: Python · Java · C++ · C# · JavaScript