Question: in C Write a program named Problem_3.c that prints integers 1 to 33 (inclusive) to a file named outputEvenOdd.txt. Then read back these numbers and
in C
Write a program named Problem_3.c that prints integers 1 to 33 (inclusive) to a file named outputEvenOdd.txt. Then read back these numbers and print only the even numbers to a file named outputEven.txt.
Use a function named MyisEven.c to decide if the number is even or not. This function returns 1 if input is even otherwise 0. Use a header file ProblemHeader_3.h to declare/prototype the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
