Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Read the flow chart below. If the string S = "abcdef * @ ghij ",the output result is
Read the flow chart below. If the string S = "abcdef * @ ghij ",the output result is
Analyze the functions of variables and statements in the program,

According to the sequence shown in the flow chart, we can see that:

The function of this program is to accumulate S = (-1)+2+(-3)+4+…+(-9)+10.

∫S =(- 1)+2+(-3)+4+…+(-9)+ 10 = 5

So the answer is: 5.