Skip to Content

Use a listbox to enhance input methods

A cellphone number must consist of 10 digits.Try to write a program to test for a valid cellphone number. * Length must be 10 digts * Digits only

 

In this project I decided to make use of a list of numbers to verify each of the digits. I have successfully made use of the list to verify uppercase or lowercase aswell, when needed.

 

This project forms part of a very comprehensive book developed to suit the South African cirriculim rquirements for Scratch.

 

Here is the original question:

 

A cellphone number must consist of 10 digits.Try to write a program to test for a valid cellphone number.
* Length must be 10 digts
* Digits only