|
|
back to boardHow can this get WA? program ural1230; begin writeln('A="?''A="+''"''+"''+A+''"+''"''+";''+A";?''A="''+A+''";''+A'); end. The PIBAS prog is as follows: A="?'A="+'"'+"'+A+'"+'"'+";'+A"; ?'A="'+A+'";'+A Re: How can this get WA? • Use write instead of writeln. CR/LF characters are not allowed in PIBAS program. • And your program is not introspective, your output is A="?'A="'+A+'";'+A";?'A="'+A+'";'+A |
|
|