Question: Project # 3 Requirements: There is extra credit with this project ( last page ) . Design and develop a two - file program (

Project #3 Requirements: There is extra credit with this project (last page).
Design and develop a two-file program (use a header file for functions) that computes an
Evacuation Status for the International Space Station (ISS) based upon the size and distance of a
Meteor coming toward the station. The program will accept a meteor size in meters and
distance from the station in miles, and output to the console the Meteor Data and Status of
Evacuation (shown below).
1. Prompt the user for meteor size in meters, distance from Earth in miles using a void
function in the header file.
a. Validate the input...must be >0
2. Determine the following two values using a single function located in the header file:
a. The speed of the meteor (size in meters *120 mph)
b. Time to impact (distance /speed in mpm)
3. Determine this value using a function in the header file that returns a string
a. The Evacuation Status (based on the criteria provided below)
4. Display the results using an output function in the header file
5. Create a loop in main to run the program multiple times and clear the screen
between runs using system(CLS)
Main can only have variable declarations, the loop, and calls to functions that are in a header
file. All other operations and calculations must be in functions located in the header file.

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!