View Code of Problem 25

#include <iostream>

const int gap = 'a' - 'A';

int main() {
    int t;
    std::cin >> t;
    char ch;
    while(t--) {
        std::cin >> ch;
        std::cout.put(ch + gap).put('\n');
    }
    return 0;
}

Double click to view unformatted code.


Back to problem 25