+ 1
How to print alphabets in reverse order..
2 Réponses
+ 2
#include <stdio.h>
int main() {
//small letter a to z
for (int i = 122; i > 96; i--){
printf ("%c ", i);
}
printf("\n************************************************\n");
//capital letter a to z
for (int i = 90; i > 64; i--){
printf ("%c ", i);
}
return 0;
}