Feeling cold? Snuggle up with your laptop and a chai tea latte for another programming challenge.

Let's do another problem today. Let's work with some boolean logic! Today, let us write some code that switches the value of a variable based on the state of the boolean. Here's some psuedocode.
//Create a string
//Create a boolean
//if(boolean)
// set string to "true"
//else
// set string to "false".
If you need some boolean review, run through these tutorials :)
https://www.khanacademy.org/computing/computer-programming/programming/logic-if-statements/pt/booleans
To go with this fun task, here's a recipe for some easy chai tea latte!
https://www.ohmy-creative.com/kitchen/chai-tea-latte/#_a5y_p=5173215
Signing off!
Amulya Malapaka

C++
{
bool hello;
if (bool)
{
hello = true;
}
else
{
hello = false;
}
return 0;
}
String name = "Unicorn";
boolean isSparkely;
if(name.equals("Unicorn"))
isSparkely = true;
else
isSparkely = false;
@ Manasi
//cough cough cough
name.replace("Freshman", "Seniors");
Java:
String name = "Freshman";
boolean isStressed;
if(name.equal("Freshman"))
isStressed = true;
else
isStressed = False;
String person = "highSchooler";
boolean isTired;
if(person.equals("highSchooler"))
{
isTired = true;
}
else
{
isTired = false;
// probably still true though
}