I have an assignment where i am to generate a specified number of random student records. One of the elements i'm to generate is GPA.
I cant seem to figure out how to generate random float numbers between 0.00 and 4.00 using the rand() function. For example: 3.21
Any help is appreciated, thanks.
I cant seem to figure out how to generate random float numbers between 0.00 and 4.00 using the rand() function. For example: 3.21
Any help is appreciated, thanks.