nag_restore_random_state (g05cgc) restores the value of the seed used by the basic generator in Chapter g05
after a previous call to nag_save_random_state (g05cfc)
nag_restore_random_state (g05cgc) restores the state of the basic generator, using information saved by a previous call to nag_save_random_state (g05cfc)
The program prints 10 pseudorandom numbers generated by nag_random_continuous_uniform (g05cac)
; it saves the generator state after the 2nd, and restores it after the 7th, so that the 8th, 9th and 10th numbers are the same as the 3rd, 4th and 5th.