3) %3s reads only 3 character if you supplies more, otherwise it reads as much as you've typed. This will easily overflow your char array.
Declare integer variables: num, sum, odd, and even. Initialize sum, odd, and even to 0. Read an integer value num from the user using scanf. Declare an integer array of size num. Use a for loop from 0 ...