Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

MillieNakiganda/ALC3.0Challenge1WK2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

ALC3.0Challenge1WK2

Write a javascript program that prompts a user to enter the user's year of birth and in turn prints a string in the console stating whether the user is a minor, a youth or an elder. Anyone below 18 years is a minor, anyone between 18 and 36 years of age is a youth and the rest are elders.

Objects Write a Javascript program that returns an object where the property names are numbers between 1 and 15 and the values are squares of the names. Please note that you should not hard code the object, and Test Driven Development(TDD) is optional but highly encouraged.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published