我目前收到错误或没有显示。请帮忙...
function getTotal()
{
var service = prompt("What service would you like? ", " ");
var options = prompt("How frequent do you want the service? ", " ");
var contractLength = prompt("How long do you want the contract?" , " ");
var totalPrice = " ";
switch (service) {
case 'Lawn Maintenance':
switch (options) {
case 'Montly':
switch (contractLength) {
case '6':
totalPrice = $25 }
}
break; }