Skip to content
Quiz · Variables and Types · lesson 7 of 12

Quiz — 7 / 2 and 7.0 / 2.0

What does the program print?

Rust
fn main() {
    println!("{} {}", 7 / 2, 7.0 / 2.0);
}