newton/solutions/rust/281A.rs

9 lines
164 B
Rust
Raw Normal View History

2025-01-18 20:13:21 +00:00
use std::io;
fn main() {
let mut s = String::new();
io::stdin().read_line(&mut s).unwrap();
print!("{}{}", s[0..1].to_uppercase(), &s[1..s.len()]);
}