0
I'm trying to write a javascript code that will print out the prime numbers between 1 and 100
4 Answers
+ 8
This is not a platform to give you a readymade code firstly try by yourself.
+ 8
+ 5
Sakshi he gave the code before and later deleted that comment
Im deleting my answer right now...
+ 2
First you want to create a function which is the formula for finding out the prime number and use a for loop to find out the prime number .
Create another function which gives the range example 1 to 100 and call the function and your code is ready