I am currently working on my homework and I am having a little trouble with the assignment. This is the assignment:

Design, write and test a program to meet the following specifications.

1. Print a title for the program and then display a clear prompt for the user to enter a character in the range of ‘a’..’f’.

2. Validate the user input: print an error message if the input is out of range (not in the range ‘a’..’f’)

3. Process the valid input as follows

a. First, prompt for and read three integers

b. Print the following results based on the input from the user

Option Output

a The 3 integers in order from smallest to largest

b The absolute values of the integers

c The floating point average of the integers

d The number of integers that are the same

e The number of even and the number of odd values input

f The floating point average of the positive integers

Restrictions:

Only use the language constructs covered in class.

The options must be handled using a switch statement.

I know its a lot to ask, but could anyone please give me examples of how to code options a-f within the restrictions given? This is due to tommorow and I really want to be able to turn in my assignment so I don't get dropped (my teacher is very strict and also moving so fast that I am having trouble keeping up with this course). Thanks for any assistance!

Sincerely,

KT