program prob2 !mathematical operation integer:: x,y,sum,i read*,x,y sum=0 do i=x,y sum=sum+i end do Print*,sum end program prob2
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more