rengetsu

Codeforces_281A

Jul 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. //Codeforces Round 281A
  2. #include <string>
  3. #include <cctype>
  4. #include <cstring>
  5. #include <iostream>
  6. using namespace std;
  7. int main()
  8. {
  9.     string s;
  10.     char mass[1001];
  11.     cin >> s;
  12.     strcpy(mass, s.c_str());
  13.     mass[0] = (char)toupper(mass[0]);
  14.     cout << mass;
  15.     return 0;
  16. }
Add Comment
Please, Sign In to add comment