用rust打印一个99乘法表
fn main() {
for i in 1..10 {
for j in 1..i + 1 {
print!("{} x {} = {} ", j, i, j * i);
}
println!();
}
}
运行
用rust打印一个99乘法表
fn main() {
for i in 1..10 {
for j in 1..i + 1 {
print!("{} x {} = {} ", j, i, j * i);
}
println!();
}
}
运行