diff options
Diffstat (limited to 'exercises/functions/functions5.rs')
| -rw-r--r-- | exercises/functions/functions5.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/exercises/functions/functions5.rs b/exercises/functions/functions5.rs deleted file mode 100644 index f1b63f4..0000000 --- a/exercises/functions/functions5.rs +++ /dev/null @@ -1,15 +0,0 @@ -// functions5.rs -// -// Execute `rustlings hint functions5` or use the `hint` watch subcommand for a -// hint. - -// I AM NOT DONE - -fn main() { - let answer = square(3); - println!("The square of 3 is {}", answer); -} - -fn square(num: i32) -> i32 { - num * num; -} |
