i want to write two programs —-
a program that can randomly choose number T1 from [5, 10, 15] and if
if it choose T1=5, then it should give T2= 6
if it choose T1=10, then it should give T2= 11
if it choose T1=15, then it should give T2= 16
So, T2 is addition of 1 to T1
second program—–
if i have set of values P=(1,2,3,……10)
how to pick randomly P1 and P2 from above set such that P1 and P2 are not same.
Best Answer