a = eval(form.a.value);
? = eval(form.c.value);
s:= z/c;
function calculator(form) {
var a = form.a.value;
var b = form.b.value;
var c = form.c.value;
var d = a*b/100;
var z = a+d;
var s = z/c;
form.total.value = s;
form.plat.value = d
}
function calculator(form) {
a = eval(form.a.value);
b = eval(form.b.value);
c = eval(form.c.value);
d = a*b/100;
z = a+d;
s = z/c;
form.total.value = s;
form.plat.value = d
}