Current location - Training Enrollment Network - Mathematics courses - Draw the algorithm flow of finding the value of p =1* 2 * 3 * ... * 99 *100.
Draw the algorithm flow of finding the value of p =1* 2 * 3 * ... * 99 *100.
It is known that the function of the program is to calculate the value of 1×2×3…× 100 with a cyclic structure. This is an accumulation operation, and it needs to be accumulated repeatedly for 100 times, so that the initial value of the cyclic variable is 1, the final value is 100, and the step is/.