text: C # implementation to find the probability of not getting two consecutive heads together when N coins are tossed
code: using System ; class GFG { public static float round ( float var , int digit ) { float value = ( int ) ( var * Math . ( 10 , digit ) + .5 ) ; return ( float ) value / ( float ) Math . Pow ( 10 , digit ) ; }