asked 223k views
3 votes
Write a statement that displays the variable as: There are 10 glasses.

let numGlasses = 10;

1 Answer

3 votes

Answer:

Here's the code you can use to display the variable as "There are 10 glasses.":

```

let numGlasses = 10;

console.log("There are " + numGlasses + " glasses.");

```

answered
User Cjohansson
by
7.9k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.