Not even dignified with a response yet? Well surely you read the homework policy. I can give you my homework policy though: You show me how you are trying to get it, and where you are stuck, and I will help you from there.
I can help you with a very basic start.
Example:
Code:
#include <stdlib.h> // just in case
#include <stdio.h> // this allows you to get input and write output
int main(void)
{
float options = { 0.1f, 0.3f, 0.5f, 1.0f };
char choice;
choice = getchar();
return 0;
}
That doesn't help too much in terms of doing your work for you. But its a place to start. The semester is almost over bud, don't think of any of us as heartless.