here is the question:
for(i=1;i<=n,i++){
for(j=2*i;j<=n,j++){
puts("hello"):
}
}
Here is my solution: the outer loop has 1+n+1+n running time and the second for loops has n*(1+n/2+1+n/2)run times, and the third statement has n*n/2 run times. the second and third statetment very confused me, i don't know whether my calculation is correct or not, any clarification would be appreciated, thanks in advnace.