let raceNumber = Math.floor(Math.random() * 1000);
const early = true;
const age = 18;
if (age > 18 && early || !early) {
raceNumber += 1000;
} //I used the || (OR) condition in my if statement because the code will return a raceNumber less than 1000 if an adult showed up late to the race although only early adults are supposed to receive a race number above 1000, I was just playing around to see what is possible with Java Script
if (age > 18 && early) {
console.log(Welcome! Your race is by 9:30 am and your Race Number is ${raceNumber}.
);
} else if (age > 18 && !early) {
console.log(Welcome! Your race is by 11:00 am and your Race Number is ${raceNumber}.
);
} else if (age < 18) {
console.log(Welcome! Your race is by 12:30 pm and your Race Number is ${raceNumber}.
);
} else {
console.log(βSee the registeration desk.β)
}Preformatted text