Thursday, September 17, 2015

Blog Post #7 for 09/15

PART LENGTH

This simple function allows the user to input a part length, and will determine whether or not that particular part meets the criteria. If not, the program will put you down.


NAVY HEIGHT REQUIREMENT

 This program will analyze the heights of Navy applicants and output a table of accepted and declined candidate based on the height inputs.


ROCKET TRAJECTORY

 This simple program allows the user to input a particular time and determine whether the rocket is in stage 1, stage 2, stage 3, or free fall.


HOSPITAL TEMPERATURES


This program will analyze a matrix of numbers representing the temperatures of patients (rows = patient number, columns = station number) and determine which patients have a fever. It will output which patient at which station, along with the temperature of that particular patient.

Output:



GAS PRICES

This program allows the user to input the unit of measurement they would like to use to fill their gas tank, as well as the amount of gasoline, and it will output the price to fill their car with that amount of gasoline assuming $3.89 per gallon.

Output:




LEGAL DRINKING AGE

This function allows the user to enter their age and determines whether or not they are old enough to drink alcohol.

Output: 

No comments:

Post a Comment