/divExercise

JavaScript Exercises

Primary LanguageHTML

Hello there...

To start working on this project, do the following;

  1. Fork the repository
  2. Clone the repository

For each exercise, create a JavaScript file, with the exercise number as it's name and tackle the question. When done, push all of the code back to your repository. Create an issue on my repository to notify me that you are done.

Questions

  1. Write a JavaScript program to calculate multiplication of two numbers given by a user
  2. Write a JavaScript program to check two given numbers and return true if one of the number is 50 or if their sum is 50
  3. Write a JavaScript program to check from two given integers, if one is positive and one is negative
  4. Write a JavaScript program to check if a number is even or odd

Tip

Use the prompt() function to take user input in all of your programs and output with the document.write method