Question: Mo . It will take Sam 15008 years to c General Instructions Application: Create a C program that will calculate how long it will take
Mo . It will take Sam 15008 years to c General Instructions Application: Create a "C" program that will calculate how long it will take Sam the snail to crawl around the world. Sam is not all that fast but he is determined! He can average one foot per hour. Your program should use the following facts: 1. The world is 24,901 miles in circumference. 2. There are 5,280 feet in a mile 3. Each day has 24 hours 4. Each year has 365 days Processing: Your program should use these guidelines: 1. Declare variables of the appropriate data types. Names of the variables should be meaningful. 2. Assign the correct values to the variables. 3. Perform the calculations with the variables. Do NOT per- form the calculations yourself. The program should per- form the calculations. 4. Generate the output (to both the screen and to a disk file, see Stegman Text, Pages 15-16) to inform the user of the correct answer. Submitting: Close the project in Visual Studio completely. Close Visual Stu- dio. Navigate to the project folder in Windows Explorer. Right- click, choose "Send To...and select "Compressed (zipped) folder". Once the zip file is created, submit using the Sam the Snail assignment in Canvas. 1: Pal ESC 11121Fall 2020 Projects Snail.exe (process 53856) exited To autonatically close the consol enable Tools -> Options Debueeing console when debugging stops. Press any key to close this window Sample Output Correct Answer: It will take Sam 15,008 years
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
