Ребят помогите переделать программу Паскаль в СИ
program lab3;
var x,y,a,b,xk,xn, dx:real;
begin
a:=1.4;
b:=2.5;
write(' vvedite xn, xk, dx=');
readln(xn, xk, dx);
x:=xn;
writeln('tabl');
writeln('┌─────┬─────┐');
writeln('│ x │ y │');
while x<=xk do
begin
y:=(ln(a*x*x+b))/(a*x+1);
writeln('├─────┼─────┤');
writeln('│',x:5:2,'│',y:5:2,'│');
x:=x+dx;
end;
writeln('└─────┴─────┘');
readln;
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.