// Program: if_else.ino
int Student1_Mark = 92;
int Student2_Mark = 20;
void setup() {
Serial.begin(115200);
if (Student1_Mark > 33) {
Serial.println("The student1 mark is greater than 33. He passed the exam.");
}
else {
Serial.println("The student1 mark is less than or equal to 33. He failed the exam.");
}
if (Student2_Mark > 33) {
Serial.println("The student2 mark is greater than 33. He passed the exam.");
}
else {
Serial.println("The student2 mark is less than or equal to 33. He failed the exam.");
}
}
void loop() {
}
/* End of program */