The chances are that you want to input the values from the user and generate the result.
Unfortunately, we can't see your screen, so we don;t know what environment you are working in. But...assuming you know haw to get three strings called
stringF1
,
stringF2
, and
stringR
then all you have to do is convert them to numbers and complete it:
double f1;
if (!TryParse(stringF1, out f1))
{
}
double f2;
if (!TryParse(stringF2, out f2))
{
}
double r;
if (!TryParse(stringR, out r))
{
}
double result = (f1 / f2) * r;
string stringResult = result.ToString();
Which you can print to your console, or put to a lable, or whatever your envirtonment allows.