johnwalton84
Technical User
I've written a program in Fortran which has a do loop of the form
do i=0,20000
(operations)
end do
I want the program to print the values of the do loop, but only want it to print every 100th value of i (i.e. i=100,200,300,400...20000), can anyone suggest a way to do this?
do i=0,20000
(operations)
end do
I want the program to print the values of the do loop, but only want it to print every 100th value of i (i.e. i=100,200,300,400...20000), can anyone suggest a way to do this?