In this module we'll give possible answers to the challenges from the last module.
BRONZE ANSWER
int value =11;if (value >=10){Console.WriteLine("The value is greater than or equal to 10");}
SILVER ANSWER
string password ="LetMeIn1234!";if(password =="LetMeIn1234!"){Console.WriteLine("Welcome user!");} else {Console.WriteLine("Something went wrong");}
GOLD ANSWER
Console.WriteLine("How are you feeling today from 1-5?");string feelingNumber =Console.ReadLine();if (feelingNumber =="5"){Console.WriteLine("That's great to hear!");}elseif (feelingNumber =="4"){Console.WriteLine("Good stuff!");}elseif (feelingNumber =="3"){Console.WriteLine("Hope things get better!");}elseif (feelingNumber =="2"){Console.WriteLine("Oh. Sorry to hear that.");}elseif (feelingNumber =="1"){Console.WriteLine("Dang. We hope your day gets better!");}else{Console.WriteLine("Sorry, we don't understand. Come back later.");}Console.ReadLine();