Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
if (strcmp(abb, "lol")==0 || strcmp(abb, "LOL")==0 || )
#include <stdio.h> #include <string.h> int main() { char abb[5]; printf("Give the abbreviation\n"); scanf("%s",abb); if(strcmp(abb,"LOL") == 0 || strcmp(abb,"lol") == 0 || strcmp(abb,"Lol") == 0) printf("%s is laugh out loud\n",abb); else if(strcmp(abb,"bnf") == 0 || strcmp(abb,"BNF") == 0 || strcmp(abb,"Bnf") == 0) printf("%s is Bye for now\n",abb); else if(strcmp(abb,"FTW") == 0 || strcmp(abb,"ftw") == 0 || strcmp(abb,"Ftw") == 0) printf("%s is For the win\n",abb); else if(strcmp(abb,"IRL") == 0 || strcmp(abb,"irl") == 0 || strcmp(abb,"Irl") == 0) printf("%s is In real life\n",abb); else if(strcmp(abb,"Thot") == 0 || strcmp(abb,"thot")==0 || strcmp(abb, "THOT") ==0) printf("%s is that hoe over there\n",abb); else if(strcmp(abb,"lmao") ==0 || strcmp(abb,"LMAO")==0 || strcmp(abb, "Lmao") ==0) printf("%s means laughing my ass off", abb); else printf("Library doesn't know"); }
run
|
edit
|
history
|
help
0
ele709 lab 3.2
Sunday assignment calculator
ayudantia 1 mod 4
14th Feb Project
18BCE2182 ASSESS_1 Q1-7
18BCE2182 ASSESS_1 Q1-8
Programação em C, testes
Practice Problem 7
20171117_FUNCIONES
Lab6 v1.1 Sin,cos,tan,cot