SHARE
TWEET

Untitled

a guest Jul 18th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var primos(nu){
  2. if(nu>1000)
  3. var maximo=primos[primos.legth-1]
  4. var minimo=primos[primos.legth-2]
  5. var total=(maximo*minimo);
  6. console.log("el numero es primo");
  7. console.log("los factores primos son");
  8. }esle{
  9.     if(906609%=== 0){
  10.     div1=(nu/2);
  11. if(div1%=== 0|| div1%3===0
  12. return("error")
  13. }else{
  14. console.log(nu);
  15. primos.push(nu);
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top