title: how to generate integer random number in fortran in the range [0,180]?
body: <pre><code> I try to use this script but also I got number between 0 to 1 not 0 to 180 
  </code></pre>
  <p>so what is the solution to this problem</p>
  <pre><code> like this `
  </code></pre>
  <pre><code>code
  </code></pre>
  <pre><code>
      call random_seed()
          do i = 4 , 8
            call random_number(r)
          enddo
          N = 180.
          do i=0, N
           call random_number(alpha1)
          enddo
  
  
  </code></pre>
  <p>the result between  0 to 1</p>
  <pre><code></code></pre>