Playground
Playground
Loading the editor…
fn main() -> i32 {let values = [3]i32{10, 20, 12};return values[0] + values[1] + values[2];}
OUTPUT
ReadyYour code runs in this page. Nothing is sent anywhere.
Press Ctrl + Enter to run
Loading the editor…
fn main() -> i32 {let values = [3]i32{10, 20, 12};return values[0] + values[1] + values[2];}
Your code runs in this page. Nothing is sent anywhere.
Press Ctrl + Enter to run