program one2n write(*,*)'This program will do 1+2+3...+N' write(*,*)'What is your N?' read(*,*)n m=0 do i=1,n m=m+i end do write(*,*)'The answer is',m end