Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. for(i = 0; i < userInputCount; i++)
  2. {
  3. if (i == 0)
  4. {
  5. *get user input 1*
  6. *get user input 2*
  7. product *= (userInput1 * userInput2);
  8. }
  9. else
  10. {
  11. *get user input >2*
  12. product *= moreUserInput;
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement