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