Aiutatemi, nn trovo l'errore!!!!
<html>
<head>
<script>
document.write("<pre>");
a = prompt ("Introduci ora di arrivo ","");
a = eval (a);
b = prompt ("Introduci i minuti ","");
b = eval (b);
c = prompt ("Introduci ora di uscita ","")
c = eval (c)
e = prompt ("Introduci i minuti ","")
e = eval (e)
p1 = a * 60;
s1 = p1 + b;
p2 = c * 60;
s2 = p2 + e;
d = s2 - s1;
if (1 < = d)
{document.writeln ("Totale € 0.50");
}
if else (d <15)
{document.writeln ("Totale € 0.50");
}
else if (16 < d)
{x = d * 0.10;
document.writeln ("Totale € ",x);
}
else if (d < 29)
{x = d * 0.10;
document.writeln ("Totale € ",x);
}
else if (d == 30) {document.writeln ("Totale € 2.00");
}
else if (31 < d)
{x = d * 0.05;
document.writeln ("Totale € ",x);
}
else if (d < 120)
{x = d * 0.05;
document.writeln ("Totale € ",x);
}
else if (d > 121)
{x = d * 0.25;
document.writeln ("Totale € ",x);
}
else
document.writeln ("Controlla i valori immessi");
document.write("</pre>");
</script>
</head>
</html>