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.

26 lines
499 B

#include <stdio.h>
#include "funktionen.h"
void welcome() {
char x[15];
printf("Hallo! Wie heisst du?\n");
scanf("%s", &x);
printf("\nSchöner Name, %s!\n\n", x);
}
int choose_program() {
int i;
printf("Welches der folgenden Programme moechtest du starten?\n1. Rechner.exe\n2. Gleichungen.exe\n3. TicTacToe.exe\n\n");
scanf("%d", &i);
return i;
}
int addThreeNumbers(int a, int b, int c) {
return a + b + c;
}
int multiply(int h, int g) {
return h * g;
}