Please help me to write a C++ program to generate a random string that contains 10 digits. For example "0011234123".

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter17: Linked Lists
Section: Chapter Questions
Problem 22SA
icon
Related questions
Question

Please help me to write a C++ program to generate a random string that contains 10 digits. For example "0011234123". 

My professor asked us to use rand() function but I am unable to use that, please help me to write the code.

Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning