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