top of page

PROGRAMMING CHALLENGES

Gamertag Validator

Difficulty:

2 Medium

1.6 Iteration (while loops)

Topic:

Write a program that asks the user to enter a gamertag. The program should keep asking for a valid gamertag (less than 15 characters) until one is entered.

Use a loop to repeatedly prompt the user until they enter a valid gamertag.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page