#include <iostream>
int main()
{
float x,y;
std::cout <<"X = ";
std::cin >> x;
std::cout <<"Y = ";
std::cin >> y;
float max=(x>y) ? x:y;
float min=(x<y) ? x:y;
std::cout <<"Big: " <<max <<std::endl
<<"Small: " <<min <<'\n';
return 0;
}
Program pr1;
var
a,i:integer;
p:int64;
begin
p:=1;
readln(a);
for i:=a to 20 do
p:=p*i;
writeln(p);
end.
===== PascalABC.NET =====
begin
var (a, b, x) := ReadInteger3;
if x = 1 then
Print('Сумма', a + b)
else if x = 2 then
Print('Разность', a - b)
end.
А) 948 (10) = 1110110100 (2) = 1664 (8) = 3B4 (16)
Б) 763 (10) = 1011111011 (2) = 1373 (8) = 2FB (16)