Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

How can economic development become environmentally sustainable?

Answered: 1 week ago

Question

Explain the process of biochemistry

Answered: 1 week ago