primitive ing,,

This commit is contained in:
blacktoast 2021-09-30 07:41:34 +00:00
parent 5155cf7547
commit 2a40efb29b
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,6 @@
// Fill in the rest of the line that has code missing!
// No hints, there's no tricks, just get used to typing these :)
// I AM NOT DONE
fn main() {
// Booleans (`bool`)
@ -12,7 +11,7 @@ fn main() {
println!("Good morning!");
}
let // Finish the rest of this line like the example! Or make it be false!
let is_evening=true;// Finish the rest of this line like the example! Or make it be false!
if is_evening {
println!("Good evening!");
}

View File

@ -16,7 +16,8 @@ fn main() {
println!("Neither alphabetic nor numeric!");
}
let // Finish this line like the example! What's your favorite character?
let your_character='2';
// Finish this line like the example! What's your favorite character?
// Try a letter, try a number, try a special character, try a character
// from a different language than your own, try an emoji!
if your_character.is_alphabetic() {

View File

@ -5,7 +5,7 @@
// I AM NOT DONE
fn main() {
let a = ???
let a = String::from("Test hihihhihihihihihihihihihihiihihihihi");
if a.len() >= 100 {
println!("Wow, that's a big array!");