- 2

Can someone write a code in C++ or python for the given task?

generate n random numbers (say r) which lies between Integers a&b ie a<r<b; These Numbers should be be even only and tolerance of 0.01 only ie for input 6&8 output should be 7.46, 7.80, 6.54, 6.44 and so on!

12th Nov 2017, 2:55 AM
Yash
Yash - avatar
3 Answers
+ 9
I don't understand what is "tolerance of 0.01 only" Rest is here → https://code.sololearn.com/c4J5wXI1AJZW/?ref=app https://code.sololearn.com/c7aYQWCIc47W/?ref=app
12th Nov 2017, 3:03 AM
Ekansh
+ 9
No! Do your own homework. If you need help, post your code here and state your problem.
12th Nov 2017, 3:17 AM
qwerty
qwerty - avatar