Help write a subroutine that will read the numbers from the file and write them to the list. For example, the file says: "10 100 59 3 2 45" I can not think of a method how to count a number that is more than one character as one number.

    1 answer 1

    var a, b, c, d, e, f: integer; file: TextFile; begin ... ReadLn(file, a, b, c, d, e, f); 
    • And what is "a, b, c, d, e, f"? Is it a few items type? - ANGRY SHARK knyaz2000