Program prog;
Uses crt;
var a,b: integer;
begin
clrscr;
write('A = ');
readln(a);
write('B = ');
readln(b);
writeln;
writeln(a, '+', b,'=',a+b);
writeln(a, '-', b,'=',a-b);
writeln(a, '*', b,'=',a*b);
writeln(a, '/', b,'=',(a/b):0:3);
end.
судя с условия вроде так
x = int(input())
y = int(input())
sum = x + y
difference = x - y
multiply = x * y
dividion = x / y
print("Сумма" + " " + str( sum))
print("Разность" + " " + str(difference))
print("Произведение" + " " + str( multiply))
print("Частное" + " " + str( dividion))
Program prog;
Uses crt;
var a,b: integer;
begin
clrscr;
write('A = ');
readln(a);
write('B = ');
readln(b);
writeln;
writeln(a, '+', b,'=',a+b);
writeln(a, '-', b,'=',a-b);
writeln(a, '*', b,'=',a*b);
writeln(a, '/', b,'=',(a/b):0:3);
end.
судя с условия вроде так
x = int(input())
y = int(input())
sum = x + y
difference = x - y
multiply = x * y
dividion = x / y
print("Сумма" + " " + str( sum))
print("Разность" + " " + str(difference))
print("Произведение" + " " + str( multiply))
print("Частное" + " " + str( dividion))