Posted on 2004-09-03
Need help in grabbing my input from another program file, UNIX redirector operator.
How do I go about doing it.
I’m supposed to get 100 random input and have an input point of 9, input > point display msg. If input<point go next input no msg. I have to use loop to grab input and use to compare input with the point.
Here is what I've come out with...
int num, input=0;
print("The num is %d while the input is %d ", num, input);
Thanks for the help in advance!