Предмет: Информатика, автор: marialikhanova8523

помогите составить программу
Напечатать заданное слово в обратном порядке, удаляя при этом все буквы «е».

Ответы

Автор ответа: Puz1koO
0

var

 s:string;

 i:integer;

begin

 readln(s);

 for i:=length(s) downto 1 do  

   if (Ord(s[i]) <> Ord('e')) and (Ord(s[i]) <> Ord('е')) and

      (Ord(s[i]) <> Ord('E')) and (Ord(s[i]) <> Ord('Е'))

           then write(s[i])

end.


marialikhanova8523: спасибо))))
Похожие вопросы
Предмет: Английский язык, автор: asiam97
Предмет: Английский язык, автор: shievchiuk95
Помогите пожалуйста))))))
1. Put the verbs in Present Simple or Future Simple. Use the example as a model:
Example: If I don’t drink coffee I will be tired all day.
After the party is over they will come back here.
1. Today after I ________(get) out of class, I ________(go) to a movie with some friends.
2. When you _______ (arrive) in Stockholm, call my friend Gustav. He ___________(show) you around the city and help you get situated.
3. A: Do you know what you want to do after you _________(graduate) ?
B: After I __________ (receive) my Master's from Georgetown University, I ____________(go) to graduate school at UCSD in San Diego. I ___________(plan) to complete a Ph.D. in cognitive science.
4. If it __________(snow) this weekend, we __________(go) skiing near Lake Tahoe.
5. Your father__________ (plan) to pick you up after school today at 3:00 o'clock. He ____________(meet) you across the street near the ice cream shop. If something happens and he cannot be there, I _____________(pick) you up instead.
6. If the people of the world ________________(stop, not) cutting down huge stretches of rain forest, we _________________(experience) huge changes in the environment during the twenty-first century.
7. If Vera ____________(keep) drinking, she ____________(lose, eventually) her job.
8. I promise you that I _______________(tell, not) your secret to anybody. Even if somebody _____________(ask) me about what happened that day, I ______________(reveal, not) the truth to a single person.
9. She _______________(make) some major changes in her life. She_______________ (quit) her job and go back to school. After she ___________(finish) studying, she ____________(get) a better-paying job and buy a house. She is going to improve her life!
10. Tom _____________(call) when he ____________(arrive) in Madrid. He _____________(stay) with you for two or three days until his new apartment ___________(be) available.
Предмет: Математика, автор: DiankaTokmashova