Answer:
Explanation:
This code creates an infinite loop because it is detecting that the first value of copyNums is 1, therefore it runs the insertItem code. This code then adds the value "hello" to the array in position i which would be 0. Then moves to the next value of the array, but since the element "hello" pushed the value 1 to the next index then the code just repeats itself with the same value of 1. This continues to happen because every time the value "hello" is added it simply pushes the 1 to the next index and repeats the same code.
Hardware, because it is an item meant to be used on something else.
Answer:
1/5 is a rational number.
Explanation:
Natural numbers are the numbers you use to count with (1, 2, 3, etc.). Nobody uses fractions while counting whole objects unless they think they're funny and want to stall, so 1/5 wouldn't be a rational number.
Whole numbers are the exact same as natural numbers, but with the addition of the number 0 (think about it, no one starts from zero when counting).
Integers include whole numbers as well as their opposites (for example, the opposite of 4 is –4).
As a basic rule of thumb, if the number includes a fraction or a decimal point of any kind, it would be a rational number.