![[Dept of Engineering]](http://www.eng.cam.ac.uk/images/house_style/engban-s.gif)
Write the following routines. You can assume that you have a
random() routine that returns an integer in the range
0 to 2^31-1.
//Convert radians to degrees int rtod(float radians); //Convert degrees to radians float dtor(int degrees); //Return a number in the range 1 to 'maximum' inclusive int random_integer(int maximum);