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