Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project # 3 Requirements: There is extra credit with this project ( last page ) . Design and develop a two - file program (
Project # Requirements: There is extra credit with this project last page
Design and develop a twofile 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
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
Determine the following two values using a single function located in the header file:
a The speed of the meteor size in meters mph
b Time to impact distance speed in mpm
Determine this value using a function in the header file that returns a string
a The Evacuation Status based on the criteria provided below
Display the results using an output function in the header file
Create a loop in main to run the program multiple times and clear the screen
between runs using systemCLS
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started