Complete these tasks to reinforce what you learned in this module.
In the stub, declare a mutable variable count starting at 0, add 3 to it, then print its value.
// Task 1: Mutable counter. See tasks/TASKS.md.
fn main() {
// YOUR CODE HERE: let mut count = 0, add 3, print "count = 3"
todo!("Implement mutable counter");
}
Declare a variable value of type i32 with value 100, and print it.
let binding. Check the types section in the theory.// Task 2: Type annotation. See tasks/TASKS.md.
fn main() {
// YOUR CODE HERE: let value: i32 = 100, print "value = 100"
todo!("Implement type-annotated value");
}