viet chuong trinh pascal xuat ra ket qua cua bieu thuc B=5x+10. khi biet x co gia tri duoc nhap tu ban phim 01/08/2021 Bởi Bella viet chuong trinh pascal xuat ra ket qua cua bieu thuc B=5x+10. khi biet x co gia tri duoc nhap tu ban phim
uses crt; var x, B: real; begin clrscr; write(‘Nhap x = ‘); readln(x); B:=5*x+10; writeln(‘Gia tri cua bieu thuc B = 5x + 10 la: ‘, B); readln end. Bình luận
Uses crt;Var x,b:longint;BeginClrscr; Write(‘x=’);Readln(x); b:=5*x+10; writeln(‘B= ‘,b);Readln;End. Bình luận
uses crt;
var x, B: real;
begin
clrscr;
write(‘Nhap x = ‘); readln(x);
B:=5*x+10;
writeln(‘Gia tri cua bieu thuc B = 5x + 10 la: ‘, B);
readln
end.
Uses crt;
Var x,b:longint;
Begin
Clrscr;
Write(‘x=’);Readln(x);
b:=5*x+10;
writeln(‘B= ‘,b);
Readln;
End.