【正文】
+1 T← 1/(i i) End while P← Sqr(6 S) Print P End 第 14 題答 學(xué)習(xí)延伸 Read x If x≤ 500 then y← 5 Print y Else If x≤ 1000 then y← 6 Print y Else If x≤ 1500 then y← 7 Print y Else If x≤ 2021 then y← 8 Print y Else If x≤ 2500 then y← 9 Print y Else y← 10 Print y End if End if End if End if End if End 學(xué)習(xí)延伸答案(方法一) Read x If x≤ 2500 then If x≤ 2021 then If x≤ 1500 then If x≤ 1000 then If x≤ 500 then y← 5 Print y Else y← 6 Print y End if Else y← 7 Print y End if Else y← 8 Print y End if Else y← 9 Print y End if Else End if y← 10 Print y End 學(xué)習(xí)延伸答案(方法二)