Перевести из C в Java print_f ('Y/N')
epl1=scan_f(%pl1);
print_f ('Y/N')
eK_INF=scan_f(%eK_INF);
pl=scan_f(%pl);
bs=scan_f(%bs);
TERM=scan_f(%TERM);
case epl1==Y && eK_INF==Y {
pl1=scan_f(%pl1);
K_INF=scan_f(%K_INF);
result=pl+pl1*bs*K_INF*TERM;
}
case epl1==Y && eK_INF==N {
pl1=scan_f(%pl1);
result=pl+pl1*bs*TERM;
}
case epl1==N && eK_INF==Y {
K_INF=scan_f(%K_INF);
result=pl*bs*K_INF*TERM;
}
case epl1==N && eK_INF==N {
pl1=scan_f(%pl1);
K_INF=scan_f(%K_INF);
result=pl+*bs*TERM;
}
print_f(result);