posted by Mike on .
Input: A text string, using prompt.
Output: Either "Valid name" or "Invalid name", depending on whether the input names fit the required format, which is
Last name,first name, middle initial
where neither of the names have more than 15 characters.
Function : counter
Parameter: an array of numbers
Returns: the numbers of negative elements, zeros, and values greater than zero in the given array.
Note: you must use a switch statement in the function
Thank you for posting.
However, you are not likely to get the kind of answer you are expecting unless you post some of your solutions, or be specific about where you have your difficulties.
Universities and colleges have very strict rules about plagiary and you do not want to be part of an investigation.