It is a good programming practice to explain your functions by writing comments that describe what they do.
Answer:
flight stimulators are used to train astronaut and design simple air craft
Answer:
Following are the statement is given below
recalled = (modelYear >= 2001) && (modelYear <= 2006); // holding the value true if condition is true.
Explanation:
Following are the description of above statement
- Declared a variable recalled of Boolean type .
- The variable modelYear examine the above condition .
- The variable recalled holds true if modelYear is greater then or equal 2001 and modelYear is less then or equal to 2006 otherwise if following condition is false then this variable holds False .