Create a “C” program that will calculate how long it will take Sam the snail to crawl around the world. Sam is not all

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. Copy and paste code in text version in word document or format that displays code step by step

Leave a comment

Your email address will not be published.