Internet Explorer in all versions is a dangerous browser. It has many deficiencies and security vulnerabilities that make it unsafe.
You should instead use a current version of Chrome or
Firefox if you're using windows or Safari for the Mac.
This site will not function properly in Internet Explorer. Emails will not be sent, downloads will not function, assignments will not be
submitted...
Lab02 Lightspeed
Due: Monday September 19, 2016 11:59 PM
Lab02 - Lightspeed
Requirements
Program compiles without errors
20 pts
Program code is clean and readable
10 pts
Program prompts the user for input
10 pts
Program finds the correct answer when days are less than 100
30 pts
Program finds the correct answer when days are between 100 and 10,000
To practice with variables, datatypes, and arithmetic
Instructions
The speed of light in a vacuum is 186,000 miles per second. Create a C program that will prompt the user of the program to enter a number of days. Perform the arithmetic that is necessary to calculate how many miles light will travel in that number of days.
Make your program readable with good use of whitespace, good variable names, and comments where needed.