R
Randi
I am having problems with this question: Write a C++ while statement that
will input numbers from a file until the end of file is reached. Output the
lowest number in the file.
Ok, I do understand the logic, I believe the following for loop solves it
from keyboard input. But how do you point to any given value from a file.
You can't assign anything to a variable. Little lost on this one.
Thanks,
Kelsey
will input numbers from a file until the end of file is reached. Output the
lowest number in the file.
Ok, I do understand the logic, I believe the following for loop solves it
from keyboard input. But how do you point to any given value from a file.
You can't assign anything to a variable. Little lost on this one.
Thanks,
Kelsey