Write a subroutine that generates random

profileVerifiedEducator
 (Not rated)
 (Not rated)
Chat

  

Write a subroutine that generates random numbers that lie between a and b. The user calls the subroutine as my(numbers) = myrandom(n,a,b). The subroutine returns n random number between a and b. Call the program with a seed of 0, a = -3, b = 7, and n = 10. Print out your 10 random numbers after the subroutine call.

    • 4 years ago
    Answer Attached
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      randomnumbersS138.doc