ia-toki / tlx

Pusat Pelaporan Isu TLX Training Gate
18 stars 2 forks source link

Chapter 06: Perulangan, Pola I #18

Closed ZeedMillenniummon closed 7 years ago

ZeedMillenniummon commented 7 years ago

answer sudah benar tapi selalu WA

var n,m,i:integer; begin readln(n,m); for i:= 1 to n-1 do if i mod m <> 0 then write(i,' ') else write(' '); if n mod m <> 0 then write(n) else write(''); readln(); end.