Computing.net: Question & Answers Forum Latest Questions

Computing Staff
  • 0
  • 0

var a,b,d,c,r,n : integer; BEGIN writeln(‘vuvedi 4islo’); readln(a); writeln(‘vuvedi 4islo’); readln(b); writeln(‘vuvedi 4islo’); readln(c); n:=(a*a)-(4*b*c); r:=(-b+sqrt(n))/(2*a); d:=(-b-sqrt(n))/(2*a); writeln(‘rezultata e ‘, r , d); readln; END. that is on pascal and here are the errors: 9 / 19 untitl~1.pas Error: Incompatible types: got “S80REAL” ...