Problem#1: [ 10-Marks]
Write user-defined function to convert a volume in milliliters to fluid ounces.
Write main program to call this function.
Relevant Formula:
fluid_ounces=0.034 (milliliters).
Problem#2: [ 15-Marks]
Write user-defined function to take a depth (in kilometers) inside the earth as input data; compute and print the temperature at this depth in degree Celsius and degree Fahrenheit. Write main program to call this function.
Relevant Formulas:
Celsius=10(depth)+20.
Fahrenheit=1.8 (Celsius)+32.
Problem # 3: [ 15-Marks]
The Air Force has asked you to write a program to label supersonic aircraft as military or civilian. Your program is to be given the plane's observed speed in km/h and its estimated length in meters.
For planes traveling in excess of 1100 km/h, you will label those longer than 52 meters "civilian" and shorter aircraft as "military". For planes traveling at slower speeds, you will issue an "aircraft type unknown" message.
Problem # 4: [ 15-Marks]
Write a program that finds the equivalent series and parallel resistance for a collection of resistor values. Your program should scan first the number of resistors and then the resistor values. Then compute the equivalent series resistance for all resistors in the collection and also the equivalent parallel resistance. For example, if there are three resistors of 100, 200, and 300 ohms, respectively, their equivalent series resistance is 100+200+300 and their equivalent parallel resistance is:
1/((1/100) + (1/200) +(1/300)).
Problem # 5: [ 15-Marks]
The Fibonacci sequence is a sequence of numbers beginning :
1, 1, 2, 3, 5, 8, 13, 21,---------------
The first two elements are defined to be 1. Each of the other elements is the sum of its two predecessors. Write a program that takes a value for n in the range 1 to 30 and displays the first n elements of the Fibonacci sequence.
Problem # 6: [15-Marks]
Consider the following list of monthly rainfall in a city in millimeters.
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
11.5 10.6 9.8 3.7 8.5 14.0 18.5 22.4 27.6 12.5 12.0 13.8
Use an array with above data. It is desired to determine the month in which maximum and minimum rainfall occurred. Also find the average monthly rainfall and its standard deviation. Instead of actual names you can just print the number of month ranging from 1-12. No user input is required.
R is the average rainfall and ri are monthly rainfalls.
Problem # 7: [15-Marks]
Write a menu driven program, which has following options:
1. Factorial of a Number.
2. Prime or not.
3. Odd or Even.
4. Exit
It must execute appropriate choice entered by user.

