我正在尝试自学Pascal,并且正在编写一个确定质数的程序。这是粗略的,不准确的,但只是一个练习。我已经创建了一个FOR循环,它将查看一个计数数除以一组质数时是否有余数。如果没有,它就不被认为是质数: writeln('This program calculates all the integers below a given number');
writeln('Please enter a number greater than 1&
我无法读取文件的内容。我尝试从文件中读取并将数据保存到一个名为MiGuarde的记录中。当我尝试打印MiGuarde (我的文件中有数据)时,什么也没有显示。writeln('Ingrese el total de caniles : ');
readln(MiGuarde.cantidad_canileswriteln('Ingrese la direccion:
String; YS, C_Amt: Real
Writeln( 'Enter applicants who applied for a type of credit card');
Readln (Rep,Exp,GS,YS,NS,Sum,TSD,SSN我正在使用免费的IDEPascal,它说我有两个错误。如