var n,n1,n2,n3:integer;
begin;
readln (n);
n1:=n mod 10;
n:=n div 10;
n2:=n mod 10;
n3:=n div100
if (n1=n2) and (n2=n3) then writeln ('Y') else writeln ('N');
end.


Ошибка в n3...... Как исправить и описание. Программа Паскаль.
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.