For example
Input:
Each line has two integral numbers, and there are some lines, but I don't know the number of lines. When the program has read the last line, I want it to stop. How can I do that?
I'm a beginner. Thanks.
A question on the number of lines
Moderator: Board moderators
-
- New poster
- Posts: 12
- Joined: Sun Dec 07, 2003 10:45 am
-
- New poster
- Posts: 12
- Joined: Sun Dec 07, 2003 10:45 am