C # program to find amount of water to be added to achieve given target ratio .
using System ; class GFG { public static double findAmount ( double X , double W , double Y ) { return ( X * ( Y - W ) ) / ( 100 - Y ) ; }