ABC059A - Three-letter acronym
#include <cctype> #include <iostream> #include <string> using namespace std; int main(void) { string a, b, c, ans = ""; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b >> c; ans += toupper(a[0]); ans += toupper(b[0]); ans += toupper(c[0]); cout << ans << "\n"; return 0; }