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.
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more