<ctype.h>
⟶ toupper()
fajny ten toupper tylko czemu 2 wiersz mi wyswietla bez tych zmiennych malej i duzej litery?
#include <ctype.h>
#include <stdio.h>
int main()
{
char ch;
char cb;
char cj;
char ck;
char cp;
scanf("%s", &ch);
scanf("%s", &cp);
scanf("%s", &cb);
scanf("%s", &cj);
scanf("%s", &ck);
printf("%c in uppercase is represented as %c\n",
ch, toupper(ch));
printf(" %c in uppercase is represented as %c\n",
cp, toupper(cp));
printf("%c in uppercase is represented as %c\n",
cb, toupper(cb));
printf("%c in uppercase is represented as %c\n",
cj, toupper(cj));
printf("%c in uppercase is represented as %c\n",
ck, toupper(ck));
return 0;
}