answersLogoWhite

0


Best Answer

An integer is a whole number. These can be used in many ways like making equations.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an integer and how do you use it?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why do you use the letter z to represent integer numbers?

why an set of integer denoted by z


How do you find the answer to an integer problem?

It depends on the problem: you may have to use integer programming rather than linear programming.


What are the rules in multiplying integers?

Let's use N to represent any number.N x N = NN x -N = -N-N x -N = NSo the rules are:A positive integer times a positive integer will be a positive integerA positive integer times a negative integer will be a negative integerA negative integer times a negative integer will be a positive integer.


Which scanner class method would you use to read integer as input?

The method Scanner.nextInt() returns an integer obtained as user input.


Can you use expressions in switch?

Switch Expression should be an Integer Expression.Syntax:switch(integer expression){case constant 1:do this;default:do this;}The expression following the keyword switch is any C expression that will yield an Integer value.It could be an integer constant like 1,2 or 3,or an expression that evaluates to an integer.


Write a program to revrse the given integer and print it backwords?

In Java, you might use the StringBuffer class. Convert the integer to a StringBuffer, use the method to revert it - I believe it is revert() or something; look it up in the documentation - then print it.In Java, you might use the StringBuffer class. Convert the integer to a StringBuffer, use the method to revert it - I believe it is revert() or something; look it up in the documentation - then print it.In Java, you might use the StringBuffer class. Convert the integer to a StringBuffer, use the method to revert it - I believe it is revert() or something; look it up in the documentation - then print it.In Java, you might use the StringBuffer class. Convert the integer to a StringBuffer, use the method to revert it - I believe it is revert() or something; look it up in the documentation - then print it.


Is -5.1 an integer?

No. If you are counting objects, you will never use this number.


Is -2 is not an integer?

No, it is an integer.


How do you get the absolute value of positive integer?

The absoluate value of a positive integer is the integer itself.The absoluate value of a positive integer is the integer itself.The absoluate value of a positive integer is the integer itself.The absoluate value of a positive integer is the integer itself.


What are the different examples of integral exponents?

... -3, -2, -1, 0, 1, 2, 3, ...In summary, any integer that you use as an exponent is an "integral exponent".... -3, -2, -1, 0, 1, 2, 3, ...In summary, any integer that you use as an exponent is an "integral exponent".... -3, -2, -1, 0, 1, 2, 3, ...In summary, any integer that you use as an exponent is an "integral exponent".... -3, -2, -1, 0, 1, 2, 3, ...In summary, any integer that you use as an exponent is an "integral exponent".


Will the square of an integer always be an integer?

Yes, the square of an integer is always an integer.


What is rounding in Visual Basic?

Rounding in Visual Basic is the method of rounding an integer up, or flooring an integer, which is rounding down. To round up, you use the System.Math.Round function. To round down, or floor, you use the System.Math.Floor function.