Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int chiffre = 1;
- bool soustr;
- string array[] = ["A", "B", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P"];
- for(int compt; compt == array.length; ++compt)
- {
- array[compt] = chiffre.to!string ~ array[compt];
- if (chiffre = 4)
- {
- soustr = true;
- }
- else
- {
- if (chiffre = 1)
- {
- soustr = false;
- }
- }
- if (soustr)
- {
- --chiffre;
- }
- else
- {
- ++chiffre;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement