39 lines
715 B
C
39 lines
715 B
C
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
|
|
|
|
int fibonacci(int argc, char *argv[]) {
|
|
|
|
char c[] = "qwertyuiopasdfghjkllzxcvbnm123456789mnbvcxzlkjhgfdsapoiuytrewq1234567890";
|
|
|
|
for(int a=0;a<100000;a++){
|
|
parseH(&c);
|
|
parseL(&c);
|
|
printf("%s",c);
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
void parseH(char *p){
|
|
int ln=strlen(p);
|
|
for(int a=0; a<ln; a++){
|
|
if(p[a]<123 && p[a]>96){
|
|
p[a]=p[a]-32;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
void parseL(char *p){
|
|
int ln=strlen(p);
|
|
for(int a=0; a<ln; a++){
|
|
if(p[a]<91 && p[a]>64){
|
|
p[a]=p[a]+32;
|
|
}
|
|
}
|
|
}
|