upd course

This commit is contained in:
2026-10-18 11:35:33 +02:00
parent d2b9776f45
commit f59d585ee3
16 changed files with 348 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#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;
}