Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to make a randomizer for c++?

0 votes
asked Apr 12, 2019 by SovietEraHeavies098 (120 points)
I have a few arrays stored in one master array. I want the compiler to randomly select one of the arrays and randomly select from one of the arrays and store the information in a separate array. I need the answer to be for c++.

1 Answer

0 votes
answered Apr 29, 2019 by slaphead69-420
import random

retard = randint(1,9999)

print("Here ya go. Retard: "+retard)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.