conventions.io

Tech Challenge

2026-11-14

🦀

Daily Tech Challenge

Rust

medium
Question 1 of 5

What does this program print, extracting the sign of three integers with i32::signum?

Example
fn main() {
    println!("{} {} {}",
        (-42i32).signum(),
        0i32.signum(),
        7i32.signum());
}

Saturday, November 14, 2026 · A new challenge drops every day