JS-Assignment-2
1. Write a program to find big number of given two numbers
2. Write a program to find big one in given three numbers
3. Write a function to find the factors of a given number
4. Write a function to check given number is prime or not
(Hint: Prime number have only two factors)
5. Write a function to print even factors of given number
6. Write a function to receive a number as arg and return sum of its digits
INPUT : 1234
OUTPUT : 10 (1+2+3+4)
https://codepen.io/Shravan003/pen/oNapYgq
ReplyDeletehttps://codepen.io/Mahaboob-Basha-the-bashful/pen/rNXpomX
ReplyDelete