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.
24 lines
446 B
24 lines
446 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
#include <string.h>
|
|
#include "timequiz.h"
|
|
|
|
void timequiz();
|
|
|
|
void timequiz() {
|
|
|
|
printf("Welcome to our Time Quiz!\n");
|
|
printf("You have 60 seconds to answer the questions. Have fun!\n");
|
|
|
|
char* questions[] = {
|
|
"What is the capital of France?",
|
|
};
|
|
|
|
char* answers[][4] = {
|
|
{"Paris", "London", "Berlin", "Madrid"},
|
|
};
|
|
|
|
int correctAnswers[] = { 1 };
|
|
|
|
}
|