Sample Run
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit
1
Enter the lengths of the sides of the triangle, separated by a space:
12 15 18
The area of this triangle is: 89.29
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit
2
Enter your height, weight, and age, respectively, separated by a space
72 190 59
Your hat size is 7.65
Your jacket size is 47.75
Your waist is 34.83
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit
3
Enter the temperature in Fahrenheit (the nearest integer):
67
The temperature in Celsius (the nearest integer) is: 19
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit
4
Enter the temperature in Fahrenheit (exact value):
56
The temperature in Celsius is: 13.33
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit
5
Enter a positive integer to check if prime:
73
This is a prime
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit
6
Enter the Celcius temperature:
12
No windchill computation possible for over 10 degrees Celsius.
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit
6
Enter the Celsius temperature:
3
Enter the wind speed:
56
The wind chill effect is: -5.3975
Enter 1 to Compute area of a triangle
Enter 2 to Compute your clothing size
Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers)
Enter 4 to Convert temperature from Fahrenheit to Celsius (exact values)
Enter 5 to Test a positive integer for being prime
Enter 6 to Calculate a windchill factor
Enter 7 to Quit