Age Group Classifier App
Age Group Classifier App
Objective:
Create an app in MIT App Inventor where users input their age, and the app classifies them
into one of three age groups: "Child", "Teenager", or "Adult" using simple conditional blocks.
Button (Button1): The user clicks this button to check which age group they belong to.
o Text: "Check Age Group"
Label (Label1): This will display the result ("Child," "Teenager," or "Adult").
o Text: "Age group will be displayed here"
Block Setup:
1. Button1.Click Block:
o This block handles the event when the button is clicked.
2. If-Then-Else Block:
o Use the conditional block to classify the input from TextBox1.
Expected Output:
1. Input: 8 → Output: "Child"
2. Input: 15 → Output: "Teenager"
3. Input: 25 → Output: "Adult"