For-loop ... Given an integer n, calculate the sum of the integers k 2 for k = 1,...,n. ... The variable s is initialised to 0. The index variable k starts at 1, ...
確定! 回上一頁