cours:exercicespoobat4avance
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| cours:exercicespoobat4avance [2013/11/20 15:55] – [Calcul des nombres d’Armstrong] tigli | cours:exercicespoobat4avance [2013/11/20 15:59] (Version actuelle) – [Calcul des nombres d’Armstrong] tigli | ||
|---|---|---|---|
| Ligne 23: | Ligne 23: | ||
| < | < | ||
| class ApplicationArmstrong { | class ApplicationArmstrong { | ||
| - | + | static void Main(string[ ] args) { | |
| - | static void Main(string[ ] args) { | + | |
| - | …….. | + | |
| - | } | + | |
| } | } | ||
| </ | </ | ||
| Ligne 38: | Ligne 37: | ||
| namespace CsExosAlgo1 | namespace CsExosAlgo1 | ||
| { | { | ||
| - | class ApplicationArmstrong { | + | class ApplicationArmstrong { |
| - | static void Main(string[ ] args) { | + | static void Main(string[ ] args) { |
| - | int i, j, k, n, somcube; | + | int i, j, k, n, somcube; |
| - | System.Console.WriteLine(" | + | System.Console.WriteLine(" |
| - | for(i = 1; i<=9; i++) | + | for(i = 1; i<=9; i++) |
| - | for(j = 0; j<=9; j++) | + | |
| - | for(k = 0; k<=9; k++) | + | for(k = 0; k<=9; k++) |
| - | { | + | { |
| - | …… | + | …… |
| - | } | + | } |
| - | } | + | } |
| - | } | + | } |
| } | } | ||
| </ | </ | ||
| Ligne 64: | Ligne 63: | ||
| { | { | ||
| | | ||
| - | | + | { |
| } | } | ||
cours/exercicespoobat4avance.1384962935.txt.gz · Dernière modification : 2013/11/20 15:55 de tigli