Write a program to generate random integer without using rand() function. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Write a program to generate random integer without using rand() function.

27th Mar 2017, 8:34 AM
Hemant Khorwal
Hemant Khorwal - avatar
3 Answers
+ 15
This was my very first official assignment in C++. I utilised <fstream> to store and modify algorithm seed for each run.
27th Mar 2017, 8:52 AM
Hatsy Rei
Hatsy Rei - avatar
0
i want to generate random no. between 12 to 33 without using random function in c language. how can i do?
4th Oct 2017, 9:41 AM
Amish Tandon
Amish Tandon - avatar