I have an assignment due, and I have no clue what to do. I've read up on the subject and still am not sure what to do. Here is the problem:
1.) Write a C program (name it integer.c) that asks the user to input a single integer and then reports back to the user whether the integer is positive, negative, or zero. In addition, if the integer is positive, report whether it is even or odd. If it is even, find and report the largest power of 2 that evenly divides the integer. Place this program and the others for this assignment in a subdirectory off your home directory on et791. Name this subdirectory assign13.
AND
2.) Write an interactive C program (name it real.c) that asks the user for an integer n (that represents the number of real numbers to be processed), then ask the user to enter n real numbers (numbers with decimal places), and then calculate and report the sum and product of these real numbers. Repeat this process until the user chooses to stop.
If someone could please help me that would be extremely helpful. Thanks, Mike.