Javascript code to accept a number from user and display its factors using any looping statement. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Javascript code to accept a number from user and display its factors using any looping statement.

20th Jan 2019, 7:13 AM
Kuntal Parashar
3 Answers
+ 2
I assumed that much. ;-) Problem is: Sololearn wants to prevent doing the school homework for people, that's why you're supposed to honestly try yourself first and show us. But a hint: You can use modulo for this.
20th Jan 2019, 7:34 AM
HonFu
HonFu - avatar
+ 1
Please show us your attempt!
20th Jan 2019, 7:18 AM
HonFu
HonFu - avatar
0
I don't know. So I have asked the question.
20th Jan 2019, 7:19 AM
Kuntal Parashar