How can I generate a random number with a specified length in c? I have to ask the user for a specified length for two sequences and based off of that responses I generate 2 random numbers of those lengths.
Please enter 2 max lengths for your sequences: 3 6
Seq1:
456
seq2
937123