<jupyter_start><jupyter_text>Lab Two---Ok for this lab we're going to reiterate a lot of the things that we went over in class.Our Goals are:- Conditionals    - If    - Else    - Else If<jupyter_code>// Make an if statement

boolean present = true;

if (present = true) {
	System.out.println("Hello there! Welcome to today's CMPT 220L class!");

}


// Make an if, else statement where the else statement triggers

boolean GoodHealth = false;

if (GoodHealth = true) {
	System.out.println("You are looking good! No need to seek medical help at this moment.");

} else  {
    System.out.println("Hmmm...something does not look right. Please talk to your doctor about the issues presented in this form");

}
// Make an if, else if, else statement where the else if statement triggers

int Answer = 5;

if (Answer == 5) {
	System.out.println("That's it! You got the question right - GREAT JOB!");

}
else if (Answer == 4) {
    System.out.println("Darn! Your answer is incorrect. Try to get the next one right!");
} else if (Answer == 2) {
    System.out.println("Darn! Your answer is incorrect. Try to get the next one right!");
} else if (Answer == -1) {
    System.out.println("Darn! Your answer is incorrect. Try to get the next one right!");
} else  {
    System.out.println("Hmmm...something does not look right. We cannot accept that answer.");

}
// Make 2 variables and use them in an if else conditional

String name_1 = "Mike";
String name_2 = "Rachael";

if (name_1 == "Daniel")  {  
} if (name_2 == "Carol")  {
    System.out.println("Oh my! This computer recognizes this couple! They plan on going to prom together this year!");

} else  {
    System.out.println("That's a shame - that couple cannot be recognized.");
}

// Make an if statement using 2 variables and an AND(&&) statement

int Test_score_1 = 98;
int Test_score_2 = 74;

if (((Test_score_1 + Test_score_2) / 2) >=80 && ((Test_score_1 + Test_score_2) / 2) <90)  {
    System.out.println("Okay - after your test results and the rules of this class, both student will recieve a grade of 'B'.");
}
// Make an if statement using 2 variables and an OR(||) statement

String Exposure = "y";
String Test = "negative";

if (Exposure == "y" || Test == "positive")  {
    System.out.println("Oh no! Due to your recent close exposure with a community member positive for COVID-19 and/or your own positive COVID-19 test, you and anyone you live with should individually isolate for the next 10-14 days. Do not leave your room and monitor any symptoms that arise.");

}<jupyter_output>Oh no! Due to your recent close exposure with a community member positive for COVID-19 and/or your own positive COVID-19 test, you and anyone you live with should individually isolate for the next 10-14 days. Do not leave your room and monitor any symptoms that arise.
{'fraction_non_alphanumeric': 0.10319666435024323, 'fraction_numerical': 0.01633078526754691, 'mean_word_length': 3.3228228228228227, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '465904', 'license': 'MIT', 'n_tokens_mistral': 908, 'n_tokens_neox': 821, 'n_words': 388, 'path': 'JupyterNotebooks/Labs/Lab 2.ipynb', 'repo_name': '15-fiore/CMPT-220L-903-21S', 'size': '2878'}