- 1

I have a problem with a code which works on my laptop but not on sololearn

#include <iostream> using namespace std; #include <stdio.h> #include <stdlib.h> #include<ctype.h> int main() { char c; printf("ENTER TEXT !\n"); while(c=getchar()) if(isupper(c)) putchar(tolower(c)); else putchar(toupper(c)); return 0; }

9th Nov 2017, 1:35 PM
Gokul Krishna
Gokul Krishna - avatar
1 Odpowiedź
9th Nov 2017, 1:36 PM
jay
jay - avatar