Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = 0;
- for (i = 0; i < 7; ++i) {
- if (o[i] > b)
- cout << s[i] << endl;
- if (o[i]>b)
- c += s[i];
- }
- cout << c << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement