while {[gets stdin x]>0} {scan $x %f%f a b puts [format %.2f [expr $a/($a/$b+1)]]}