In Microsoft Visual Studio*, select Build > Build Solution. This builds the program. Run it by selecting Debug > Start Without Debugging. The console window contains the following program output:
Computing pi using 600000000 trials sequentially Computed value of pi is 3.1415794, Relative Error: .422E-05 Elapsed time is 19.5 seconds
When the program is run again, a different computed value is given due to the different random number sequence:
Computed value of pi is 3.1415488, Relative Error: .139E-04