Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 876 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 876 Bytes

week2-assignment

A simple age calculator

Create an HTML and JavaScript file, add boilerplate to the HTML file and link the JavaScript file to it, add and commit the changes after creating the file.

Inside the JavaScript file you have created do the following, add and commit the changes after each is done:

  • Create a simple age calculator program that accepts two inputs that is birth year and current year and return the age of the user which you are to solve following the problem-solving technique, write out the pseudocode on how to solve this problem?
  • Declare your variables to be used to solve this problem.
  • Could you implement the logic to solve the problem which is the implementation of your pseudocode?
  • Lastly, create an array of numbers, loop through the array, and output only even numbers.