Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int s = 10;
- int i = 0;
- int broi = 0;
- do
- {
- broi++;
- s = s + i;
- i = i + 1;
- }
- while (i > 10);
- cout << "s = " << s << endl;
- cout << "i = " << i << endl;
- cout << "Broi = " << broi << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement