You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
364 B

// programmingMode
#include <stdio.h>
#include <math.h>
#include "taschenrechner.h"
void programmingMode() {
int num1, num2, result;
char operator;
printf("Enter first integer: ");
scanf("%d", &num1);
printf("Enter operator (+, -, *, /): ");
scanf(" %c", &operator);
printf("Enter second integer: ");
scanf("%d", &num2);
}