Home > Back-end >  Given a positive integer n, 1 * 2 * 3 *... * n.
Given a positive integer n, 1 * 2 * 3 *... * n.

Time:10-18

Given a positive integer n, 1 * 2 * 3 *... * n, (note: subject has provided part of the initial code, according to the question, please complete; Without any output,)
Int n=100;//the given positive integer
int result;//in the end result to the variable
(a big complement)
  • Related