PROGRAMMING PROBLEMS & SOLUTIONS
Pages
HOME
URI
UVA
CODEFORCES
HACKERRANK
EXTRA
CONTACT
Wednesday, May 11, 2016
CODEFORCES problem 281/A Word Capitalization
Problem link (
Click here
)
#include <iostream>
#include <cstdio>
#include <string>
using namespace std;
int main()
{
string stone ;
int i=0;
cin >> stone;
stone[i]=toupper(stone[i]);
cout << stone << endl;
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment