Question: IPC144 workshop5 part2 I have been an error but when I find out this in output, how can I fix it??? please help me! Checking

IPC144 workshop5 part2

I have been an error but when I find out this in output, how can I fix it??? please help me!

Checking output: In line number 73 of your output: The output should be: -------------------- ^ But your output is: -------------------- ^

Unmatched character details: The character in column 3 is supposed to be: [-] ASCII code(45) but you printed [Space] ASCII code(32)

Outputs don't match. Submission aborted!

To see exactly what is wrong, open the following two files in this directory and compare them: Your output file: output.txt Correct output file: w5p2Output.txt

In output in the visual studio

72 do { 73 printf("Set the path length (a multiple of 5 between %d-%d): ", MIN_PATH_LENGTH, MAX_PATH_LENGTH); 74 scanf("%d", &gameSettings.gameLength); 75 if (gameSettings.gameLength >= MIN_PATH_LENGTH && gameSettings.gameLength <= MAX_PATH_LENGTH && ((gameSettings.gameLength % GAME_MULTIPLIER) == 0)) { 76 a++;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!