Files
2026-10-18 11:35:33 +02:00

26 lines
416 B
C

#include <stdio.h>
#include <stdalign.h>
// Logical Operators //
// If we got 90 or higher
// AND
// If we have less than 50 bucks
int main()
{
int money;
int grade;
printf("Enter money and grade: \n");
scanf("%d%d", &money, &grade);
if (money < 50 && grade > 90)
if (money < 50 || grade > 90)
if (!(grade > 80))
printf("Good Job! \n");
return 0;
}