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