Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
pares entre a y b
//USO REPEAT program impares_entre(input,output); var n1,n2,num:integer; begin read(n1,n2); num:=n1; if (n1=n2) then write('NO HAY VALORES PARES EN ESE INTERVALO') else if (n1 mod 2)<>0 then begin repeat write(num+1,' '); num:= num+2; until (num>=n2); end else if (n1 mod 2)=0 then begin repeat write(num,' '); num:= num+2; until (num>n2); end; end.
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Test 1
Naloga 12: 3.9.2003
XEPBAN
homework
Задачи на div и mod
BIANCA SAMPAIO ALFRADIQUE 600615759
135
uuu
Menukar nilai2
RAMON BARBOSA DE ARAUJO CONCEIÇÃO 600623124
stackse - search stackoverflow differently
Please log in to post a comment.