Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 612 Bytes

ex_33.md

File metadata and controls

13 lines (12 loc) · 612 Bytes

Exercise 33

  • Create a new index33.js file
  • Define the userCount variable and assign the following value: 100
  • Increment the user count by 5
  • Show the following output: Users count: %userCount%
  • Decrement the user count by 3
  • Show the following output: Users count: %userCount%
  • We bought a new company so now we double the user count
  • Show the following output: Users count: %userCount%
  • We know that 50% of the users identify as men and the other 50% identify as women
  • Show the following output: Users count: %userCount%, %menCount% % & %womenCount% %
  • Use as many assignment operators as you can