Exemplu de program Sa se calcuze suma primelor n cifre de la tastatura Program suma; Var s,n,i:integer; Begin Write('valoarea lui n este'); Readln(n); S:=0; I:=1; Repeat Begin S:=S+1; i:=i+1 End; Until i>n Writeln('Suma este S=',s); Readln; End.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on FANDOM

Random Wiki