integers are any number number on a number line and do not have fractions or decimals. They could be any thing from -7 to 3 to 10000000000 or -3475848569. Welcome!
write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit
#include<iostream> #include<vector> int main() { std::vector<int> integers (12); for (size_t loop=0; loop<integers.size(); ++loop) cin >> integers[loop]; }
int array_name [100];
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
A Jagged array is an array of arrays. You can initialize a jagged array as − int[][] scores = new int[2][]{new int[]{92,93,94},new int[]{85,66,87,88}}; Where, scores is an array of two arrays of integers - scores[0] is an array of 3 integers and scores[1] is an array of 4 integers.
The answer depends on your concept of "work".
No integers work
Integers are whole numbers without decimals or fractions which are useful because calculations are easier to work out.
let x be any integer
That doesn't work. Factors are integers.
Whenever the numbers that I need to work with are not integers.
There are not two even integers that work. Let the integers be 2n and 2n+2 Now we have 4n+2=528 or 4n=526 Since 526 is not divisible by 4, we conclude that there is no even integer that will work! n=131.5 so 2n=263 which is odd 263+ 265=528 but these are two odd integers.
I am not quite sure what you mean with "work". A positive integer is one that is greater than zero.
Multiply the integer by -1 this makes the number positive.
It is an old saying by mathematicians that God invented the integers : all else is the work of man.Not many men would want to theorise on why the Lord decided to invent them.
-9
Answer"God invented the integers; all else is the work of man."--Leopold Kronecker