Facebook
From 123, 3 Weeks ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 55
  1. function number123(input){
  2. let num = Number(input[0]);
  3. if(num < 100){
  4.     console.log("Less than 100");
  5. }
  6. else if(100 < num < 200){
  7.     console.log("Between 100 and 200");
  8. }
  9. else if(num > 200){
  10.     console.log("Greater than 200");
  11. }
  12. }
  13.  
  14. number123(["295"]);