Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

(a+b+c+d)/5

program roots(output);
var
a,b,c,d,e,root,x1,x2:real;
begin
write('a=');
read(a);
write('b=');
read(b);
write('c=');
read(c);
write('d=');
read(d);
write('e=');
read(e);
root:=(a+b+c+d+e);
x1:=root;
x2:=(root)/5;
writeln;
writeln('x1=',x1:6:2,' x2=',x2:6:2);
end.

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.