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
there are no algorithms for subtracting algorithms!!!
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
Write a assembly program that generates and displays 50 random integers between -20 and +20.
2 power n
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
Whenever the numbers that I need to work with are not integers.
That doesn't work. Factors are 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.
Multiply the integer by -1 this makes the number positive.
I am not quite sure what you mean with "work". A positive integer is one that is greater than zero.
Negative integers, zero and the positive integers, together form the set of integers.
Fractions (as well as decimals) are used to work with numbers that are not exact integers.
2436 and 1624 are integers, not fractions. And, as integers, they are unequal.2436 and 1624 are integers, not fractions. And, as integers, they are unequal.2436 and 1624 are integers, not fractions. And, as integers, they are unequal.2436 and 1624 are integers, not fractions. And, as integers, they are unequal.