1, 2, 47, 94.
These are the whole numbers that go into 94 evenly: 1, 2, 47, 94.
To find the numbers that can go into -94, we are looking for the divisors of -94. The divisors of -94 include both positive and negative integers: ±1, ±2, ±47, and ±94. Thus, any of these numbers can divide -94 evenly, resulting in integer quotients.
1,7,11 & 77 !
Apart from 2 you mean? 47.
In Java:System.out.println("Even numbers")for (int i = 2; i
The numbers 2, 4 and 8 go into 8.
The valid range of numbers for int is 32768 to 32767.
2 and 11
I don't program in just C (I use C++) so you may have to change some of the code:int main(){int n;int last = 1;int slast = 0;int numbers[n];numbers[0] = 1;for(int i = 1; i < n; i++){numbers[i] = last + slast;slast = last;last = numbers[i];}return 0;}int n needs to be set to however many Fibonacci numbers you want to make.int last is the last number in the sequence (so far)int slast is the second last number in the sequence (so far)int numbers[n] is the int array which holds your numbersint i is the count for the loop, it is set to 1 because before the loop, I set numbers[0] to 1
To find the largest of three numbers, first find the largest of two numbers: int max (int x, int y) { return x<y?y:x; } Now you can use this one function to find the largest of three numbers: int max (int x, int y, int z) { return max (max (x, y), z); }
These do: 1, 2, 4, 47, 94, 188.
The equal numbers that go into both 35 and 85 are their common factors. The greatest common divisor (GCD) of 35 and 85 is 5. Therefore, the equal numbers that go into both are 1 and 5.