Javascript

posted by .

I'm trying to write a script that will allow a user to enter a year and then determine if the year is a leap year. I need to include a form with a single text box where the user can enter a year. I also need to display and alert dialog box to the user starting wherther the year entered is a standart year or a leap year. Can someone help me please?

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. math

    a leap year occurs when the year is divisble by 100 but not divisible by 400 are not leap years. determine whether the following years are leap years
  2. c++ programming

    Write a program that determines the day number (1 to 366) in a year for a date that is provided as input data. As an example, January 1, 2011 is day 1. December 31, 2010 is a day 365. December 31, 2012 is day 366, since 2012 is a leap …
  3. Logic

    Draw a flowchart for a program that reads a date in an 8-digit sequence (month, day, year) and determines if the date is a valid date. ignore leap year. Assume Feb has 28 days, and establish a table of days in a month so that you can …
  4. Math

    Suppose the first Friday of a new year is the fourth day of that year. Will the year have 53 Fridays regardless of whether or not it is a leap year?
  5. Visual Basic 6.0

    Design and develop a simple application system that converts the input dollars into its equivalent Yen rate. Where the user enters the value of the dollar in text box 1, the user should click the command button before the resulting …
  6. programming

    Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program …
  7. programming logic and design

    I need help writing pseudocode for this problem: Design a retirement planning calculator for skulling financial services • Allow a user enter a number of working years remaining in the user career and the annual amount of money the …
  8. c programming , computer science

    1-Write a program that determines the day number (1 to 366) in a year for a date that provided as input data. As an example, January 1, 1994, is day 1. December 31, 1994, is day 365. December 31, 1996, is day 366, since 1996 is a leap …
  9. Java programming

    I have hard time doing this any help? Rewrite the definition of the method setdate and the constructor with parameters so that the values of month, day, and year are checked before storing the date into the data members. Add a method
  10. web technology

    write a javascript program that ask the user to enter up to 10 scores golf

More Similar Questions