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

Написать программу паскаль, которая поменяет местами А и В, без использования третьей переменной.(программа + блоксхема)

Ответы

Автор ответа: Аноним
0
var
  a,b:integer;
begin
  readln(a,b);
  a := a+b;
  b := a-b;
  a := a-b;
  writeln(a,' ',b)
end.

Блок-схема во вложении


Приложения:
Похожие вопросы
Предмет: Английский язык, автор: Shasda
Времена английского глагола.

Present Simple, Present Continuous, Future Simple.


№ 1.

Употребите правильную форму глагола:


1. It’s 13 o’clock. We (has/ is having/ are having) tea.

2. In the morning Lisa (cooks/ is cooking) breakfast for us.

3. Look at Jane. She (does/ is doing) his homework.

4. I think he (passes/ will pass) his tests.

5. Ben (writes/ is writing) e-letters to his mother everyweek.

6. A: - It is a very interesting play.

7. B: - I (see) it?:

8. The sun (shines/ is shining) and it (doesn’t rain/ isn’t raining/ isn’t going to rain)..

9. I’ve got two tickets. I (go) to the theatre tomorrow.


№ 2. Раскройте скобки и поставьте глаголы в нужном времени:


1. She … going to enter university this year. 2. My father … going to spend our holiday in the country. 3. Where … you going to study? 4. I … going to play tennis this week with my colleagues. 5. Who … going to prepare a report for tomorrow? 6. Her family … going to fly to Japan/

№ 3.

Look at the sky, I think it (snow).

2.

This winter I (go) to the gym every day.

3.

Jess (move) to Moscow next month.

4.

Mother (have) an appointment at the dentist’s at 9:00 today.

5.

My brother thinks he (get ) “5 “ in English this week .

6.

She (visit) her granny at hospital today.

7.

Mike and Boris (to have) a party tonight.. I think it (be) a very nice party.

8.

They have booked the tickets. They (leave) for London tonight.