Forums Programming Assignment Help How do I change the DO loop increment to something other than 1?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15202
    ahprofessional
    Participant

    How do I change the DO loop increment to something other than 1?

    #15206
    Aakanksha
    Participant

    Ans:- “DO 100 I=1,10,2” will do the loop for I=1,3,5,7,9.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.