Question: I need help programing this in C. Complex Filter - Checks input value againsta complex filter Write a program that acts as a complex filter.

I need help programing this in C. I need help programing this in C. Complex Filter - Checks input

Complex Filter - Checks input value againsta "complex" filter Write a program that acts as a "complex" filter. That is, it receives an input, it checks the value of that input against some conditions, and then produces a result that is determined by those conditions 2 #include 4 int main(void) { // Declare variable for input value /1 TODO The filter you must write for this program will receive a single integer value as input. 6 // Read input value /1 TODO For input values that are even numbers the filter should 9 10 print "Even Number" . For input values that are both odd numbers, greater . For input values that are both odd numbers, greater . For input values that are both odd numbers and greater than 0 and less than 40, the filter should print "Small Odd Number" 12 13 // Check value against conditions and print // appropriate output /1 TODO than 40, and less than 75 the filter should print "Medium Odd Number 15 16 return ; than or equal to 75 the filter should print "Large Odd Number" For example if the input is 84, the output of your filter should simply be the following Even Number If the input is 75, the output of your program should be the following Large Odd Number If the input is 1, the output of your program should be the following Small Odd Number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!