1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | Program PruebaRegistro; Var Op,X,Nombre,Carrera,Cuatrimestre,Colegiatura,Prom,Descuento,TotalColegiatura:Integer; Begin Writeln ('Opcion1= Ir a Registros'); Writeln ('Opcion2= Ir a Pagos'); Writeln ('Que Opcion Desea?'); Readln (Op); If (Op=1) Then Begin Writeln ('Cuantos Alumnos Desea Registrar?'); Readln (X); For X:=1 To X Do Begin Writeln ('Ingrese El Nombre a Registrar'); Writeln ('Ingrese El Nombre De la Carrera'); Writeln ('Ingrese El Cuatrimestre'); Readln (Nombre); Readln (Carrera); Readln (Cuatrimestre); End; End; If (Op=2) Then Begin Writeln ('Ingrese El Nombre Del Alumno'); Writeln ('Ingrese Monto De Colegiatura'); Writeln ('Ingrese el Promedio'); Readln(Prom); Writeln('El Promedio Es:',Prom); If(Prom>=6)and(Prom<=7)Then Begin Writeln('Tienes 30 por ciento'); End; If(Prom>=8)and(Prom<=9)then Begin Writeln('Bien'); End; If(Prom=10)then Begin Writeln('Excelente'); End; Readln; End; Readln; End. |
-
upload with new input
-
result: Runtime error time: 0.02s memory: 4112 kB signal: -1
2 brenda 500 Promedio 9
Opcion1= Ir a Registros Opcion2= Ir a Pagos Que Opcion Desea? Ingrese El Nombre Del Alumno Ingrese Monto De Colegiatura Ingrese el Promedio
./prog: sign or digit expected (error #552 at 804a2d4)
-
result: Runtime error time: 0.02s memory: 4112 kB signal: -1
2
Opcion1= Ir a Registros Opcion2= Ir a Pagos Que Opcion Desea? Ingrese El Nombre Del Alumno Ingrese Monto De Colegiatura Ingrese el Promedio
./prog: attempt to read past end of Input (error #454 at 804a2d4)
-
result: Runtime error time: 0.01s memory: 4112 kB signal: -1
2 Brenda 1000 9
Opcion1= Ir a Registros Opcion2= Ir a Pagos Que Opcion Desea? Ingrese El Nombre Del Alumno Ingrese Monto De Colegiatura Ingrese el Promedio
./prog: sign or digit expected (error #552 at 804a2d4)
-
result: Runtime error time: 0.01s memory: 4112 kB signal: -1
Opcion1= Ir a Registros Opcion2= Ir a Pagos Que Opcion Desea?
./prog: attempt to read past end of Input (error #454 at 804a2d4)



