Ever wondered how schools grade thousands of students in minutes? 🤔
It’s not magic — it’s the IF statement.
“If score ≥ 70, give A...”
Boom. Done. Fast. Accurate.
I made a video showing how to use it for grading. Made a video of it see below
#Excel#IfStatement#DataTips
class IfStatement {
public static void main(String[] args) {
int Txilar = 12;
// Ver se há condições para sair da grade
if (Txilar < 0) {
System.out.println("Saindo da Grade pra txilar");
}
System.out.println("Procura o novo way");
}
}
Let ifstatement = true;
Let sees = true
Let D = @davedbase
While { ifstatement == false
If (sees == ifstatement) and {
Console.log(D " 'eye twitch' "
}
Else {
Console.log(D " says thank god"}
}
this is always so hard for me.
I also asked fizzbuzz regularly ~10 years ago, and it was shocking how often people couldn't go from if statements -> ifstatement explosion to doing something else. even with prompting.
#100DaysOfCode : #Day2
Working on:
1-If
2-If Else
3-Else
4- Switch Statement.
They are very important concept of programming. In this exercise, I tried to design a name of week days using a #Switch statement. #Switchstatement is a special type of #ifstatement where you