Race Simulator Project in C

I have been trying to do this racecar project but my problem is that I can’t call functions in my main tag no matter what I try, they don’t do anything. Here’s my code:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

// Structures section
struct Race
{
int numberOfLaps;
int currentLap;
char firstPlaceDriverName;
char firstPlaceRaceCarColor;
};

struct RaceCar
{
char driverName;
char RaceCarColor;
int totalLapTime;
};

// Print functions section

const char printIntro(){
printf(“Welcome to our main event! RaceCar fans, it’s about to be big vroom vrom time! Grab your snacks, get your butts into a seat, because here we GOOOOOOOOOOOOOO!\n”);
}
char printCountDown(){
printf(“Racers Ready! In…\n 5\n 4\n 3\n 2\n 1\n RACE!\n”);
}

// Logic functions section

int main() {
srand(time(0));

printf(“Welcome to our main event! RaceCar fans, it’s about to be big vroom vrom time! Grab your snacks, get your butts into a seat, because here we GOOOOOOOOOOOOOO!\n”);

char printCountDown;

}

As you can see I cheated to get it to print anything out and that’s working fine but the called functioin printCountDown does not throw an error it just doese literally nothing.

Hey, I think your printCountDown function needs to be changed to type ‘void’ instead of ‘char’, and don’t forget the parentheses when you call your print function in the main function. Good luck!

void printCountDown();

That fixed at least my current issue. Thanks!

Good to hear! Anytime :grin: