You are here:

C++/Random Number


I dont how to do random number in 5 digit.  

eg: 32356(random) - ??? (this may be is a secret of number which use algorithm, which ned 3 digit) this may can 3*2*3*5*6 = 540

so Complete No. is 32356-540

Can u can give me hits or sample to do on this wat? Thanks!  

Danny , Thank you for your question.

Unfortunately, you have not given me enough information for me to be able to answer your question. Please resubmit your question with more details or a clearer description and I will do my best to answer.

David Spector


All Answers

Answers by Expert:

Ask Experts


David Spector


Highly knowledgeable in the C++ language, Visual C++ (MSVC), Windows API, documentation and other quality-assurance techniques, and debugging. Knowledgeable in MFC, COM, GUI design, and object-oriented design.


I have been a software engineer since 1965. I have been published. My specializations have been: biomedical programming, compiler implementation, and many kinds of Windows programming. I don't do Databases or other business-oriented stuff.

Windows?/DOS Developer's Journal, ACM SIGPLAN Notices, and Computer Science Press.

ICCP Systems Programming Certification
Master's degree equivalent in Computer Science

©2017 All rights reserved.