3 ms·
Quote: "writeln('Type Return'); readln(ch);" The reason for these 2 statements are...? Because I fail to see their purpose.
by unnouinceput 4y ago
Quote: "writeln('Type Return'); readln(ch);"
The reason for these 2 statements are...? Because I fail to see their purpose.
- lelanthran 4y ago> Quote: "writeln('Type Return'); readln(ch);" > The reason for these 2 statements are...? Because I fail to see their purpose. The first is to display the prompt "Type Return" (think of it as "Hit enter to continue"). The `readln(ch)` waits for the user to hit the return key. Without the readline, the prompt will be displayed and the program will continue without waiting for the user to press return.
- unnouinceput 4y agoyou know what your answer is like? the same like asking for "where can I find water?" when in a dessert and you answer with "the Ocean". Technically correct, but totally missing the point.