Question: Hello everyone,I have been trying to run this code in CodeBlocks. It's a C program. The problem is not how it is structure the code,

Hello everyone,I have been trying to run this code in CodeBlocks. It's a C program. The problem is not how it is structure the code, but the output I keep getting Down is the code I have been running #include  // Constants. const int YARDS_IN_MILE = 1760; #define FEET_IN_YARD 3 int main() { // Declare and initialize variables. int feet_in_mile, num_miles; // Calculate the number of feet in a mile. feet_in_mile = YARDS_IN_MILE*FEET_IN_YARD; // Prompt and read in the number of miles run on the current day. printf("How many miles did you run? "); scanf("%d", &num_miles); // Print out the final answer. printf("You ran a total of %d feet. ", feet_in_mile*num_miles); return 0; }

Over here it is the output of the code

"Process Returned 32764 (0x7FFC)".

I try to post the image, but the website doesn't allow me to do it.

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 Databases Questions!