0
What is the output? đ€
//Programa so koja se sobiraat broevite od 1 do 10 #include<iostream> using namespace std; int main() { int n=1; int zbir=0; do { zbir=zbir+n; //zbir+=n; n=n+1; //n+=1; } while (n<=10) cout<<"Zbirot na broevite od 1 do 10 e:"<<zbir<<endl; return 0; }
1 Answer
+ 1
the output isâZbirot na broevite od 1 do 10 e:55â
(by the way,do not forget â;â after âwhile(n<=10)â)