Compare commits

..
3 Commits
Author SHA1 Message Date
Oebie68 83dc831c10 New Code 2026-09-24 15:12:03 +02:00
Oebie68 52883d7b74 update 2026-09-24 15:00:59 +02:00
Oebie68 b8c56d8978 update 2026-09-24 14:58:50 +02:00
5 changed files with 29 additions and 56 deletions
-16
View File
@@ -1,16 +0,0 @@
//Made by Vlad. Budnitski.
//AlphaTech - Programming Course.
#include <stdio.h>
#include <stdlib.h>
int main()
{
int grade;
scanf("%d", &grade);
if (grade >= 60)
printf("Congratulations! \n");
else
printf("Failed.. Try again \n");
return 0;
}
@@ -1,17 +0,0 @@
//Made by Vlad. Budnitski.
//AlphaTech - Programming Course.
#include <stdio.h>
#include <stdlib.h>
int main()
{
int num1, num2;
printf("Enter two numbers:\n");
scanf("%d", &num1);
scanf("%d", &num2);
if (num1 > num2)
printf("max = %d\n", num1);
else
printf("max %d\n", num2);
return 0;
}
-23
View File
@@ -1,23 +0,0 @@
#include <stdio.h>
#include <stdlib.h>
int main()
{
int grade;
printf("\nBitte geben Sie einen Wert ein: ");
scanf("%d", &grade);
printf("\n");
if (grade >= 60)
{
printf("Congratulations!\n");
}
else
{
printf("Sorry, you have failed .. Try again.\n");
}
printf("\n");
return 0;
}
+29
View File
@@ -0,0 +1,29 @@
#include <stdio.h>
#include <stdlib.h>
/* Finding if a given number is EVEN or ODD*/
int main()
{
int num;
printf("\n");
printf("This programm checks if a number is even or odd.\n");
printf("Please enter a number: ");
scanf("%d", &num);
if (num % 2 == 0)
{
printf("The number is EVEN\n");
}
else
{
printf("The number is ODD\n");
}
printf("\n");
return 0;
}