Advertisement
xNatural

juegos de azar y mujerzuelas. 21.03.17 algoritmos

Mar 21st, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Proceso sin_titulo
  2. Definir z,x,c,v Como Entero;
  3.  
  4. z = 0;
  5.  
  6. Leer x;
  7. Leer c;
  8. Leer v;
  9.  
  10. z = azar(6);
  11.  
  12. Si z == x || z == c || z == v entonces
  13. Escribir "Ganaste";
  14. Sino Escribir "Nop";
  15. Finsi
  16.  
  17. Escribir "el numero es ", z;
  18.  
  19. FinProceso
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement