// yukicoder Lv.1 No.56 消費税 use proconio::input; fn main() { input! { d: i32, p: i32, } let tax = (d as f64 * p as f64 / 100.0).round() as i32; let total_price = d + tax; println!("{}", total_price); }