• Дана строка, удалить из нее все буквы "о". (pascal abc). Помогите, пожалуйста.

Ответы 1

  • program z1;var a:string;          b,i:longint;beginread(a);for i:=length(a) downto 1 dobegin if a[i]='o' then    Delete(a,i,1); if a[i]='O' then    Delete(a,i,1); if a[i]='î' then    Delete(a,i,1); if a[i]='Î' then    Delete(a,i,1);end;writeln(a);end.
  • Добавить свой ответ

Еще вопросы

Войти через Google

или

Забыли пароль?

У меня нет аккаунта, я хочу Зарегистрироваться

How much to ban the user?
1 hour 1 day 100 years