Program kvadrat;
Var s, i , n: integer;
Begin
WriteLn (‘ n = ’) ;
Readln (n); I:=1; S:=0;
While i<=n do
S:=S + sqr (i);
I:= i+1;
WriteLn (‘ S=’ , S);
End;
End.
http://talimger.org/load/ash/infor/olimpiada_a_dajyndalu_a_arnal_an_esepter_zhina_y/12-1-0-975
128k сұрақ
322k жауап
153k пікір
72.6k қолданушы