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.
|
|
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "quizproject.h"
void displayWelcomeMessage(void) { printf("\t\t------------------------------------------\n\n"); printf("\t\t------------------------------------------\n\n"); printf("\t\t Welcome to The Quiz \n\n"); printf("\t\t------------------------------------------\n"); printf("\t\t------------------------------------------\n\n"); printf("\t\t Press 'Enter' to begin the Game \n"); char startGame; scanf("%c", &startGame); startGame = toupper(startGame); if (startGame != ' ') { char name[100] = {0}; printf("\t\t Please enter your First Name \n"); scanf("%s", name); }
} int main(){ displayWelcomeMessage(); return 0; }
|