Basic Pascal Tutorial/Chapter 2/Programming Assignment/fr: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Basic Pascal Tutorial/Chapter 2/Programming Assignment/fr
| Old | New | Line | |
|---|---|---|---|
| 1 | + | [[Basic Pascal Tutorial/fr|Tutoriel de Pascal Objet]] : Entrée/sortie / **Exercice** | |
| 2 | + | ||
| 3 | + | Trouvez à nouveau la somme et la moyenne de cinq nombres, mais ce coup-ci, lisez les cinq nombres et afficher la sortie dans des colonnes nettes. | |
| 4 | + | ||
| 5 | + | Reportez-vous à la spécification du problème de départ si nécessaire. Vous devriez saisir les nombres séparés par des virgules à partir du clavier : `45 7 68 2 34`. | |
| 6 | + | ||
| 7 | + | La sortie pourrait ressembler à ceci : | |
| 8 | + | ||
| 9 | + | `Nombre d'entiers = 5`\ | |
| 10 | + | \ | |
| 11 | + | `Nombre1: 45`\ | |
| 12 | + | `Nombre2: 7`\ | |
| 13 | + | `Nombre3: 68`\ | |
| 14 | + | `Nombre4: 2`\ | |
| 15 | + | `Nombre5: 34`\ | |
| 16 | + | `================`\ | |
| 17 | + | `Somme: 156`\ | |
| 18 | + | `Moyenne: 31.2` | |
| 19 | + | ||
| 20 | + | Comme complément à cet exercice, vous pouvez essayer d'écrire la sortie dans un fichier ; je n'utiliserai pas de fichier dans la solution du problème. | |
| 21 | + | ||
| 22 | + | --- | |
| 23 | + | *From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 2/Programming Assignment/fr", as it stood on 2022-08-20 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
