Question: I'm trying to put some restriction on the below C program, but it doesn't seem to work. It should ask for new input if the
I'm trying to put some restriction on the below C program, but it doesn't seem to work.
It should ask for new input if the name is not 4 caracters, if the year is not in the interval 2009-2040 or if the GPA is not between 0-255.
Also, If it is possible, I would like it to display the student like the first output, but right now it says the same number before each student.




s0000 John 2009 Autumn 200 s0001 Mary 2040 Spring 250 Average GPA 225.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
