diff options
| author | Omar Magdy <omar.professional8777@gmail.com> | 2022-06-25 18:32:00 +0200 |
|---|---|---|
| committer | Omar Magdy <omar.professional8777@gmail.com> | 2022-06-25 18:32:00 +0200 |
| commit | 7c3f32fab3b1a9d628d6856e7a923eb3c3b1ce5f (patch) | |
| tree | 484c58be6bc4ceadf35010ed8b81854994903503 /WordCapitalization/main.cpp | |
| parent | a0a07a438b6804fdca0e18b2d626ceedb982611c (diff) | |
| download | competitive-programming-7c3f32fab3b1a9d628d6856e7a923eb3c3b1ce5f.tar.xz competitive-programming-7c3f32fab3b1a9d628d6856e7a923eb3c3b1ce5f.zip | |
Solved a couple of problems from codechef and codeforces
Diffstat (limited to 'WordCapitalization/main.cpp')
| -rw-r--r-- | WordCapitalization/main.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/WordCapitalization/main.cpp b/WordCapitalization/main.cpp new file mode 100644 index 0000000..057e47f --- /dev/null +++ b/WordCapitalization/main.cpp @@ -0,0 +1,12 @@ +#include<bits/stdc++.h> + +using namespace std; + +int main () { + ios_base::sync_with_stdio(false); + cin.tie(NULL); + string s; + cin >> s; + s[0] = toupper(s[0]); + cout << s << endl; +} |
