The code on the bottom displays a boolean conditional which is true

I begin by importing the scanner in order to allow myself to use the user input. After I am able to use the scanner properties I create a variable called number score which is set equal to the user's scpre that they input. Following this, I create an if else statement with a conditional that states if the users inputted score is greater than or equal to 90, they have receieved an A under Mr. Mortensen's grading. The else if is an alternate for if this condition is not met and makes the conditional if the users input is greater than equal to 80 but less than 90 then they have received a B. Likewise using the same logic I am able to the same for the rest of my conditions continuing down to if all the if and else if conditionals are not met then the else means that they receievd an F.

System.out.print("hello");
hello
import java.util.Scanner;
Scanner scanner = new Scanner(System.in); //numberScore variable is equal to the user input
    int numberScore = scanner.nextInt();
    System.out.println(numberScore);
if (numberScore >= 90) {
    System.out.print("You went above and beyond Hey Hey Hey you got an A :) ");
} else if (numberScore >= 80 && numberScore< 90) {
    System.out.print("You did what you were supposed to so B");
}  else if (numberScore >= 70 && numberScore < 80) {
    System.out.print("Stop messing around this is lower than average C");
}  else if (numberScore >= 60 && numberScore < 70) {
    System.out.print("You literally wrote a line of code D");
}  else {
    System.out.print("You literally did nothing thats the only way possible F");
}
2
You literally did nothing thats the only way possible F

In this code segment, I once again imported the scanner, however this time I added a print statement as a way to give clear directions for the user input. I then set the keyword for 4 being the correct answer which will print congrats if it is correct. The switch case just makes it so that it identifies the variable of input so I don't have to repeat it over and over again. The case is essntially the contitional and the print is the result of whether the user input matches up with the statement.

import java.util.Scanner;
Scanner scanner = new Scanner(System.in); //numberScore variable is equal to the user input
   System.out.print("Pick a number 1-5 if you guess it right then you will be congratualeted ");
    int numberScore = scanner.nextInt();
    System.out.println(numberScore);

    switch(numberScore) {
        case 1: 
            System.out.print("Wrong Number");
            break;
        case 2: 
            System.out.print("Wrong Number");
            break;
        case 3: 
            System.out.print("Wrong Number");
            break;
        case 4: 
            System.out.print("Congrats!");
            break;
        case 5: 
            System.out.print("Wrong Number");
            break; 
    }
Jupyter cannot be started. Error attempting to locate Jupyter: Select an Interpreter to start Jupyter

Run the following command to install 'jupyter and notebook' into the Python environment. 

Command: 'python -m pip install jupyter notebook -U

or

conda install jupyter notebook -U'

Click <a href='https://aka.ms/installJupyterForVSCode'>here</a> for more info.

Demorgans Law is essntially a form of code where you can use the ! or the not operator in a conditional. If there is a not outside the boolean expression it distributes and makes all the signs and values the opposite of what it normally is.

import java.util.Scanner;
Scanner scanner = new Scanner(System.in); //numberScore variable is equal to the user input
    System.out.print("Pick a number greater than or equal to 90 to see the law in action");
    int numberScore = scanner.nextInt();
    System.out.println(numberScore);
if (!(numberScore >= 90)) {
        System.out.print("You went above and beyond Hey Hey Hey you got an A :) ");
} else {
    System.out.print("See I told you");
}
Pick a number greater than or equal to 90 to see the law in action103
See I told you

As you can see by adding the ! it created the inverse of the conditional meaning that the boolean changed from >= 90 to <= 90. As a result of this when we were asked to put a number 90 or greater the conditional was false and skipped to the else statement.

Grateful and Gratitude

How i see it is that most of us in the class have the pleasure of being able to eat three meals a day. The little things we do complain about are so minuscule that in the larger scale of things they mean literally nothing. If something goes bad for you, you need to really think is it really worth getting this sad over. And even if it is put your head up and and get up. Resilience and Relentlessness are the two factors which differentiate success from people who are not. i am grateful that I am even in a school which offers APCSA. The classroom and resources provided to us are more than enough to help us ready for college level classes and real world jobs. Additionally, I am thankful for my accomplishments in soccer, such as making the top levels of ECNL, USSDA, and Varsity. Additionally we have won CIF divison 1 soccer, which was purely the product of our relentless team spirit and refusal to give up even when all odds were against us. But the greatest thing about winning against all odds is the satisfaction. No one likes an easy win, we are supposed to struggle. Believe me the end reward is amazing, which is why no matter what the goal is, you need to persevere and put your all into it.

Video Note

-Your expectations will always be met with reality

-Even if these expectations are not met do not get discouraged and see it as an opportunity to learn

— Keep your mind in the present, as going to far into the past or future will only discourage or stress you out

Happiness is a mindset therefore you technically have full control of when you are happy or not Have a positive outlook on things and you will be happy even in a bad circumstances

Goals for this year

I am going to have mastery in Java and python before I go to college I will establish a routine of hard work and discipline and will be fully consistent with it by November I will win another CIF championship I will get out of my comfort zone and talk to people I never have before I will try to be as optimistic as I can no matter if I am having a bad day or not