186k views
3 votes
Three of the following values could be stored as strings. When would you NOT use a

string command?
O To store a word.
O To store a list of colors.
O To store values NOT used for calculations.
O To store decimal values.

1 Answer

4 votes

Answer:

To store decimal values

Step-by-step explanation:

If values are not to be used for calculation, that is, they are not numerical data, therefore, some of them could be stored as strings. A string may contain any sequence of characters. The characters in a string may be repeated.

From the foregoing, decimals can not be stored as strings because in computer programming, a string is normally a sequence of characters, hence the answer above.

User GunnerFan
by
6.7k points