#include <stdio.h>
#include <stdlib.h>
int main()
{
int num1 = 0, num2 = 0, num3 = 0;
int numchosen = 0;
printf("SHITTY CALCULATOR V1\n\n\n");
while (1)
{
printf("\nFor addition type 1 then Enter\nFor subtraction type 2 then Enter\nFor multiplication type 3 then Enter\nFor division type 4 then Enter\n");
scanf ("%d", &numchosen);
switch (numchosen)
{
case 1:
printf("You have chosen addition\nType teh first number then hit Enter\n");
scanf ("%d", &num1);
printf("Your first number is %d\n Type the second number then hit Enter\n", num1);
scanf("%d", &num2);
num3 = num1 + num2;
printf("%d + %d = %d\n", num1, num2, num3);
break;
default:
printf("Dumbfuck, can't even enter a number between 1 and 4");
break;
}
}
}