Advertisement
tobast

Untitled

Jul 15th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo -e "#include <stdio.h>\n \nint main(void)\n{\n int nombre;\n\n scanf("%d", &nombre);\n"
  4. for i in {0..1000}; do echo -e "    if(nombre == $i)\n      printf(\"Vous avez choisi le nombre $i !\");" ; done
  5. echo -e "\n return 0;\n}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement