Перевести из паскаля в c#

Var t,m,l,n,k:integer;
Begin
write('M = ');readln(m);
write('L,N = ');readln(l,n);
writeln('Окончание ввода "0"');
Repeat
write('Число = ');
readln(t);
if (t mod m = 0)and(l<=t)and(t<=n)and(t<>0) then inc(k);
Until t=0;
writeln(k);
End.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.