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.

41 lines
846 B

#include <stdio.h>
#include <stdbool.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <iostream.h>
#include "timequiz.h"
#include "casualQuiz.h"
#include "quizduell.h"
#include "wwm.h"
int main(){
int eingabe = 0;
printf("Welcome to our quiz.\n");
printf("Please choose one of the modes by inpuitting 1, 2, 3 or 4.\n");
printf("1 for the casual mode, 2 for a time-restricted mode,\n3 for the classic who wants to be a millionaire mode, and 4 for a quizduell:\n");
scanf_s("%d", &eingabe);
switch (eingabe){
case 1:{ casualQuiz();
break;}
case 2:{ timequiz();
break;}
case 3:{ wwm();
break;}
case 4:{ quizduell();
break;}
default: printf("Invalid input!");
}
return 0;
}