Calculating value of Pi using the monte-Carlo simulation

Description

In monte carlo method we estimate the value of π\pi (3.141592...), by drawing a circle, enclosed by a square. If we divide the area of the circle, by the area of the square we get π4\frac {\pi}{4}..
The link for source code is availabe at Approx PI