KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do I generate 30 random numbers between 1-9, that all add up to 200 (or some arbitrary N), in C#? I'm trying to generate a string of digits that can add together to be N.
Tags (comma-separated)
Save Edits
Cancel