Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function number100to200(input) {
- let num = Number(input.shift());
- if (num <100) {
- console.log("Less than 100");
- } else if (num >= 100 == num <= 200) {
- console.log("Between 100 and 200");
- } else if (num >200) {
- console.log("Greater than 200");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement