using the procedure random() write code for procedurerandom_trap(x,y) which generates a pseudo-random point(x,y) insideoo on the trapazoid formed by the points (1,3),(2,5),(4,3)(3,5).
how do i verify the points are in the trapazoid. how do i makethe procedure random produce numbers in a range from 0 to 5?
iam currently using c++real procedure Random(()) integer seed, it, , real array C) integer k ←-16807, 21474 83647 seed ← select initial value for seed ← size((h)) for i mt= 1
OR
OR