fncentury_name(year:u32)->String{letcentury=(year/100)+1;format!("{}{}",century,matchcentury%10{_ifcentury>10&¢ury<14=>"th",// teen numbers exception1=>"st",2=>"nd",3=>"rd",_=>"th",})}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Rust: