Javascript

posted by .

I need help these javascript exericses:

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

  • Javascript -

    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.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. computer programming (PYTHON)

    My first page is <html> <head> <title>Name Game</title> </head> <body> <h1>Name Game</h1> <form action="namegame.py"> <p> Enter your name: <input type="text" name="name" …
  2. computer programming (PYTHON)

    My first page is <html> <head> <title>Name Game</title> </head> <body> <h1>Name Game</h1> <form action="namegame.py"> <p> Enter your name: <input type="text" name="name" …
  3. programming

    write a c program that accepts a name as first name last name but displays the name as last name first name in the output
  4. MATLAB

    I got another MATLAB question that I seem to be struggling with. Use two separate input statements to prompt a user to enter his or her first and last names. Use the disp function to display those names on one line. (You'll need to …
  5. JavaScript

    I need help these javascript exericses: 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 …
  6. Javascript

    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 …
  7. Computer Programming

    I need a check on my answers 1) prompt a user to enter an employee name, employee id, and hours worked until a value of "-1" is entered for employye name. my answer: Start Declarations num EmployId, HrsWrked string EmployName housework() …
  8. programming logic

    Find Bugs in the pseudocode // A high school is holding a recycling competition // This program allows a user to enter a student's // year in school (1 through 4) // and number of cans collected // Data is entered continuously until …
  9. Programming

    I need help with debug Debug06-02 // Program lets user input scores on four tests // Average is computed and letter grade is determined // Letter grades are based on 90 for an A, 80 for a B, and so on start string name num score num …
  10. programming

    using pseudocode debug the following 3 programs // A high school is holding a recycling competition // This program allows a user to enter a student's // year in school (1 through 4) // and number of cans collected // Data is entered …

More Similar Questions