I have written a c program which consists of a decision
making statement.The arguments which have to be input
are currently a function's return value but i need to
use another program's output as it's argument .
It involves running the 2nd program,getting its output and
then using it in the 1st . This has to be done
iteratively till there is a satisfactory output from the
2nd .How can i do this?