225k views
21 votes
Which of the following might be appropriate to be created as a constant variable?

O number of feet in a mile
O number of people inside a store
O current grade in a class
O score in a football game

1 Answer

2 votes

Answer:

Number of feet in a mile

Step-by-step explanation:

In this problem, we need to find an option that to be created as a constant variable.

In option (a) "number of feet in a mile".

As 1 mile = 5280 foot

The number of feet in a mile is constant in every condition.

In option (b), (c) and (d)

number of people inside a store , current grade in a class , score in a football game are no fixed. It is not created as a constant variable.

Hence, the correct option is (a).

User Xleon
by
7.5k points