Advertisement
qcarpentier

La calculatrice

Oct 23rd, 2019
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. _ _ _ _ _
  2. | | | | | | | | (_)
  3. | | __ _ ___ __ _| | ___ _ _| | __ _| |_ _ __ _ ___ ___
  4. | | / _` | / __/ _` | |/ __| | | | |/ _` | __| '__| |/ __/ _ \
  5. | |___| (_| | | (_| (_| | | (__| |_| | | (_| | |_| | | | (_| __/
  6. \_____/\__,_| \___\__,_|_|\___|\__,_|_|\__,_|\__|_| |_|\___\___|
  7.  
  8. Bienvenue dans la calculatrice!
  9. Choisis un option:
  10. 1. Addition
  11. 2. Soustraction
  12. 3. Multiplication
  13. 4. Division
  14. 5. Sortir
  15.  
  16. --------------------
  17.  
  18. [Utilisateur] 1
  19.  
  20. Quel est ton premier nombre?
  21. [Utilisateur] 25
  22.  
  23. Quel est ton deuxième nombre?
  24. [Utilisateur] 10
  25.  
  26. Le résultat vaut 35!
  27.  
  28. --------------------
  29.  
  30. [Utilisateur] 2
  31.  
  32. Quel est ton premier nombre?
  33. [Utilisateur] 25
  34.  
  35. Quel est ton deuxième nombre?
  36. [Utilisateur] 10
  37.  
  38. Le résultat vaut 15!
  39.  
  40. --------------------
  41.  
  42. [Utilisateur] 3
  43.  
  44. Quel est ton premier nombre?
  45. [Utilisateur] 25
  46.  
  47. Quel est ton deuxième nombre?
  48. [Utilisateur] 10
  49.  
  50. Le résultat vaut 250!
  51.  
  52. --------------------
  53.  
  54. [Utilisateur] 4
  55.  
  56. Quel est ton premier nombre?
  57. [Utilisateur] 25
  58.  
  59. Quel est ton deuxième nombre?
  60. [Utilisateur] 10
  61.  
  62. Le résultat vaut 2.50!
  63.  
  64. --------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement