Problem ID:
kntt10_135_lt3
Points:
1 (partial)
Time limit:
1.0s
Memory limit:
512M
Input:
stdin
Output:
stdout
Suggester:
Problem type
Allowed languages
C, C++, Java, Pascal, Perl, Python
Thiết lập hàm change()
có ~2~ tham số là xâu ho_ten
và số ~c~. Hàm sẽ trả lại xâu kí tự ho_ten
là chữ in hoa nếu ~c=0~. Nếu tham số ~c~ khác ~0~ thì hàm trả lại xâu ho_ten
là chữ in thường.
Dữ liệu vào
- Dòng đầu chứa xâu
ho_ten
. - Dòng hai chứa số ~c~.
Dữ liệu ra
- Xâu
ho_ten
sau khi xử lý.
Sample Input
Võ An
0
Sample Output
VÕ AN
Comments