Greet someone and work out their age next year.
Joining textBeginner
Built from 2 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.
name = input("What is your name? ")age = int(input("How old are you today? "))print("Happy birthday, " + name + "! 🎂")print("You are " + str(age) + " today.")print("Next year you will be " + str(age + 1) + ".")How each block becomes code: Python · Java · C++ · C# · JavaScript