Source Code:
Result:
Name:
ID:
Age:
20-30
30-50
50+
Edit the code above and click "Submit Code" to see the result.
W3Schools.com
- Try it yourself