Posted By

crackiron on 05/29/11


Tagged

BF


Versions (?)

BF JavaScript


 / Published in: JavaScript
 

  1. <SCRIPT LANGUAGE="Javascript">
  2.  
  3. var contador = 3;
  4. var num = 0;
  5. var sid = new Array(contador);
  6. var x = new Array(contador);
  7. var password = "";
  8.  
  9. function seed_gen() {
  10. var elements = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
  11. num+=1;
  12.  
  13. for (x[num]=0; x[num]<elements.length; x[num]++) {
  14. letra = elements.substring(x[num],x[num]+1);
  15. sid[num-1] = letra;
  16.  
  17. if (num<contador) {
  18. seed_gen();
  19. }
  20. else {
  21. password = "";
  22.  
  23. for (z=0;z<contador;z++){
  24. password = password + sid[z];
  25. }
  26.  
  27. funcion_encript(sid + letra);
  28. }
  29. }
  30.  
  31. num=num-1;
  32. document.write("Testing: " + password + " ");
  33. }
  34.  
  35. </script>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: groovejay on May 31, 2011

Faça um programa que leia a média dos alunos de uma disciplina, calcule e informe a média da turma e informe o aluno com a nota maior.

Posted By: groovejay on May 31, 2011

please help me in exercise:

Create a program that reads the average of students in a discipline, calculate and report the average class and tell the student with the higher score.

You need to login to post a comment.