Uploaded by Janine Blanco

abc

advertisement
/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby,
C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <stdio.h>
int main() {
char let;
for(;;) {
printf("Enter any letter from A-Z: ");
scanf("%s", &let);
switch (let) {
case 'a':
case 'A':
printf("You're adorable \n");
continue;
case 'b':
case 'B':
printf("You're so beautiful,\n");
continue;
case 'c':
case 'C':
printf("You're a cutie full of charms,\n");
continue;
case 'd':
case 'D':
printf("You're a darling and\n");
continue;
case 'e':
case 'E':
printf("You're exciting and\n");
continue;
case 'f':
case 'F':
printf("You're a feather in my arms.\n");
continue;
case 'g':
case 'G':
printf("You look good to me,\n");
continue;
case 'h':
case 'H':
printf("You're so heavenly,\n");
continue;
case 'i':
case 'I':
printf("You're the one idolise,\n");
continue;
case 'j':
case 'J':
printf("We're like Jack and Jill,\n");
continue;
case 'k':
case 'K':
printf("You're so kissable\n");
continue;
case 'l':
case 'L':
printf("is the love light in your eyes.\n");
continue;
case 'm':
case 'M':
case 'n':
case 'N':
case 'o':
case 'O':
case 'p':
case 'P':
printf("I could go on all day,\n");
continue;
case 'q':
case 'Q':
case 'r':
case 'R':
case 's':
case 'S':
case 't':
case 'T':
printf("Alphabetically speaking you're okay\n");
continue;
case 'u':
case 'U':
printf("Made my life complete,\n");
continue;
case 'v':
case 'V':
printf("Means you're very sweet,\n");
continue;
case 'w':
case 'W':
case 'x':
case 'X':
case 'y':
case 'Y':
case 'z':
case 'Z':
printf("It's fun to wander through, \n The alphabet with you, \n To tell you what you mean to me \n \n It's fun to wander through, \n The alpahbet with you, \n To tell you what you mean to me.\n");
continue;
default:
printf("Not a LETTER!!\n");
}
return 0;
}
}
Download