23 lines
353 B
C
23 lines
353 B
C
|
# include <stdio.h>
|
||
|
# include <stdlib.h>
|
||
|
|
||
|
int main(void) {
|
||
|
char lettre;
|
||
|
char fin = 'z';
|
||
|
char temp;
|
||
|
printf("Entrez une minuscule : ");
|
||
|
scanf("%c", &lettre);
|
||
|
temp = lettre;
|
||
|
while (lettre != fin) {
|
||
|
putchar(lettre);
|
||
|
lettre++;
|
||
|
}
|
||
|
putchar('z');
|
||
|
fin -= 25;
|
||
|
while (fin != temp) {
|
||
|
putchar(fin);
|
||
|
fin++;
|
||
|
}
|
||
|
putchar('\n');
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|