Scale of words - Console I/O, Selection, String Processing

Programming Module

In this assignment, you have a function that sings a music scale using a specific word. The function is,

playScale(String someWord)
Write a program that takes input from the user then verify that the input is one word, and that it's shorter than 6 letters. Then make the program sing a scale using that word.