Javascript

posted by .

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.

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

    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 …
  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

    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 …
  9. Computer science

    Need help on how write this program. "The Eversoft Eraser Company has a list of its customers’ names (not necessarily in alphabetical order) and telephone numbers in a file named "customer" with records of the following form: last_name …
  10. English Lit

    Manuel Munoz "leave your name at the border" and Maya Angelou "Whats your name girl" Discuss the importance of names as it relates and shapes identity. Compare and contrast these two works and how each contributes whether negatively …

More Similar Questions