Current location - Loan Platform Complete Network - Local tax - (20 13? Xuzhou Mao Yi) is a flow chart of an algorithm. If the value of input n is 10, the value of output s is _ _ _ _ _.
(20 13? Xuzhou Mao Yi) is a flow chart of an algorithm. If the value of input n is 10, the value of output s is _ _ _ _ _.
Analyze the functions of variables and statements in the program,
According to the sequence shown in the flowchart,
It is known that the function of this program is to output the value of S= 10+9+8+…+2 when the condition n < 2 is met.