Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- unsigned char first, second, third, fourth;
- scanf("%02hhu%02hhu%02hhu%02hhu", &first, &second, &third, &fourth);
- first += 'A' - 1;
- second += 'A' - 1;
- third += 'A' - 1;
- fourth += 'A' - 1;
- printf("%c%c%c%c\n", first, second, third, fourth);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement