Write a c program that generates a random number between 5 and 10, using the "rand()" funtion in stdlib.h, and outputs 'a', 'b' , 'c' , 'd' with prob('a')=2/10, prob('b')=3/10, prob('c')=3/10, prob('d')=2/10 respectively. output: 10 numbers generated. do not use loops.
Answers
Answered by
1
I don't know ...........
Similar questions
Math,
7 months ago
Chemistry,
7 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago