Add some exercises about variables!

This commit is contained in:
Carol (Nichols || Goulding)
2015-09-16 20:19:24 -04:00
parent 32900581b9
commit f4c6dcf1d7
5 changed files with 41 additions and 0 deletions

10
variables/variables2.rs Normal file
View File

@@ -0,0 +1,10 @@
// Make me compile!
fn main() {
let x;
if x == 10 {
println!("Ten!");
} else {
println!("Not ten!");
}
}