Word capitalization codeforces solution
Codeforces 281A. Word Capitalization Solution in C
#include <stdio.h> #include <string.h> int main() { char s[101]; scanf("%s", s); s[0] = toupper(s[0]); printf("%s\n", s); return 0; }
Codeforces 281A. Word Capitalization Solution in CPP
#include<iostream> #include<string>using namespace std; int main() { string s; cin>>s; s[0]=towupper(s[0]); cout<<s; }
Your article helped me a lot, is there any more related content? Thanks!