Quipex icon

2.30

Quipex | PRO | 04/27/16 05:19:50 PM UTC | 0 ⭐ | 7499 👁️ | Never ⏰ | []
Pascal |

450 B

|

None

|

0 👍

/

0 👎

//2.30
 
Begin
  var a, d, b, c, y, x:real;
  var i:integer;
  
  write('Vvedite a: ');
  readln(a);
  
  write('Vvedite d: ');
  readln(d);
  
  write('Vvedite b: ');
  readln(b);
  
  write('Vvedite c: ');
  readln(c);
  
  for i := 1 to 8 do
  begin
    write('Vvedite x[', i, ']: ');
    readln(x);
    if x < (a-1) then
      y := a/x + d*x*x - c
    else
      y := (a+b)/(x-1);
    writeln('y[',i,']=',y:3:2);6
  end;
End.

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎