Merge pull request #4 from akshitgautam42/Ex-5

Ex 5
This commit is contained in:
Akshit Gautam 2023-11-11 15:46:25 +05:30 committed by GitHub
commit 0ebd60963d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
// Execute `rustlings hint variables2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
let x;
let x: i32 = 0;
if x == 10 {
println!("x is ten!");
} else {

View File

@ -3,9 +3,9 @@
// Execute `rustlings hint variables3` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
let x: i32;
let x: i32 =0;
println!("Number {}", x);
}