Uses crt; var s: real; n: integer; begin clrscr; write('collichestvo korney: '); readln(n); s: =sqrt(2)*n; write('s=',s: 0: 4); readkey; end.
230
339
Ответы на вопрос:
1)program n_1; var x,y,z,c: integer; begin readln (x,y,z); c: =x; if c> y then c: =y; if c> z then c: =z; writeln (c); end. 2)program n_2; var x,y,z: integer; q,w,e: boolean; begin readln (x,y,z); q: = (y> x) and (z> x); w: = (y< x) and (y< z); e: = (z< y) and (z< x); if e=true then writeln (z); if w=true then writeln (y); if q=true then writeln (x); end. 3)program n_3; var x,y,z: integer; begin readln (x,y,z); if (x< y) and (x< z) then writeln (x); if (y< x) and (y< z) then writeln (y); if (z< y) and (z< x) then writeln (z); end.
Популярно: Информатика
-
Камишок717.11.2022 04:34
-
mulz03.12.2022 04:48
-
mahamde17.04.2023 11:43
-
e12esa02.11.2021 02:33
-
mokantatiana23.07.2020 22:48
-
dankorolckov2025.08.2020 14:12
-
karina07200615.04.2021 11:10
-
anyasuharevap0ai2225.03.2023 03:02
-
УчебныйГод18.09.2020 00:21
-
Inna1488801.12.2021 19:11