Question: Need help with this assignment. Any help is appreciated. You can use editplus, notepad++, or gitbash for this. Write a Node.js program that does the
Need help with this assignment. Any help is appreciated. You can use editplus, notepad++, or gitbash for this.
Write a Node.js program that does the following: Save the program to a file named 5.js - Print the numbers from 1-1000: o If the number is divisible by 3, print Fizz o If the number is divisible by 5, print Buzz o If the number is divisible by both 3 and 5, print FizzBuzz. o Otherwise, print the number itself o Print to the console (i.e., standard output)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
