Write a program which reads one character from
its input; if that character is ? it prints "yes",
otherwise it prints "no".
Compile it, test it, and then type ready.
grep yes test1 >/dev/null || grep no test2 >/dev/null
This is one possible solution
The indenting and general formatting of C programs
should be done so you make the structure clear,