Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lunohod-1
program Lunohod; const move = 8; const rotate = 4; const prepare = 2; const test = 1; function receive ( var s : integer ) : integer; begin if s <> 0 then receive := s else receive := 0 end; var signal : integer; begin readln(signal); while receive ( signal ) <> 0 do begin if signal = move then writeln ('MOVE') else if signal = rotate then writeln ('ROTATE') else if signal = prepare then writeln ('PREPARE') else if signal = test then writeln ('TEST') else writeln ('ERROR'); readln(signal) end; end.
run
|
edit
|
history
|
help
0
Zad 4
test27
Task 1
task 3
Урок 3, задача 5 Задача 1478. Урок в неделе
Perkalian digit
11.7.2013 naloga2
POBLAR Y MOSTRAR VECTOR EDADES
135
Huong11a2@