Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(i = 0; i < userInputCount; i++)
- {
- if (i == 0)
- {
- *get user input 1*
- *get user input 2*
- product *= (userInput1 * userInput2);
- }
- else
- {
- *get user input >2*
- product *= moreUserInput;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement