apl/APL1.1/10.Adresses/source/Alphabet.c
unknown d9949b5cb0 a
2022-01-14 06:54:18 +01:00

32 lines
437 B
C

#include<stdio.h>
#include<stdlib.h>
int main(void) {
<<<<<<< HEAD
char lettre = 'A';
while(lettre!='Z'){
printf("%c\n", lettre);
lettre++;
}
return EXIT_SUCCESS;
=======
char min, maj;
char *p = NULL;
for(min = 'a', maj = 'A'; maj <= 'Z'; min++, maj++) {
p = (p == &min) ? &maj : &min;
putchar(*p);
}
putchar('\n');
return EXIT_SUCCESS;
>>>>>>> 9eb043aed352919d658fb0f434a13ff0f2d0f6e5
}