Current rate

Report a typo

Type the result of the following snippet of code. Use a dot to divide the rows.

const currency = "EUR";

switch (currency) {
  case "USD":
    console.log(71);
    break;
  case "EUR":
    console.log(87);
  case "CHF":
    console.log(81);
    break;
  default:
    console.log(100)
    break;
}
Enter a number
___

Create a free account to access the full topic