I need help in C++ to generate random 0s and 1s accoding to the user input
I need help in C++ to generate random 0s and 1s according to the user input. If user inputs 70% that means 70% of the total outputs will be 1s and rest 30% will be 0s. Thanks in Advance.
Aucun commentaire:
Enregistrer un commentaire