Assign the value 1.667 to array element 9.

Perform the tasks for an array called fractions:

```
fractions[9] = 1.667;
```

Computer Science & Information Technology

You might also like to view...

What is a problem with the preprocessor statement:

#define PI 3.14159; a) It will make a program run slower. b) #define should be #def c) PI should be spelled with lowercase letters. d) The semicolon is part of the substitution text, so 3.14159; will be substituted whereever PI is used and this could lead to syntax errors.

Computer Science & Information Technology

Which statement about symbolic constants is true?

a) They make programs run faster. b) They always make programs clearer. c) They make it more difficult to modify programs. d) Using meaningful names for symbolic constants helps make programs more self-documenting.

Computer Science & Information Technology