answersLogoWhite

0

No. Nor with float or double. Use function dreml (or remainderl).

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

What does the percent mean in Java?

The percent sign in Java is the modulus operator. Modulus is used to find the remainder from a division For example if you did int x = 10 % 6; x would be equal to 4. 10 divided by 6 has a remainder of 4. The modulus operator can be used to determine whether a number is divisible by another among other things.


What character is used in an OR operator?

The logical OR operator in C and Java is the double vertical bar ().Example: if (s 0) do somethingThe operator applies a logical OR operator when it evaluates the expression.


What is modulous operator?

The modulus operator, often represented by the symbol %, is a mathematical operator that returns the remainder of a division operation between two integers. For example, in the expression 7 % 3, the result is 1 because when 7 is divided by 3, the quotient is 2 and the remainder is 1. It is commonly used in programming and mathematics to determine divisibility and to cycle through values within a range.


What is the types of modulus of elasticity?

1. Young's modulus of elasticity, E, also called elastic modulus in tension 2. Flexural modulus, usually the same as the elastic modulus for uniform isotropic materials 3. Shear modulus, also known as modulus of rigidity, G ; G = E/2/(1 + u) for isotropic materials, where u = poisson ratio 4. Dynamic modulus 5. Storage modulus 6. Bulk modulus The first three are most commonly used; the last three are for more specialized use


Can the remainder or modulus operator be used with floating point operands?

Very well YESpublic class ModTest {/*** @param args*/public static void main(String[] args) {System.out.println(10.5%2);}}Output of the above program is: 0.5

Related Questions

The modulus operator percent can be used only with integer operands?

True


What The modulus operator percent can be used only with integer operands is true or false?

true


What does the percent mean in Java?

The percent sign in Java is the modulus operator. Modulus is used to find the remainder from a division For example if you did int x = 10 % 6; x would be equal to 4. 10 divided by 6 has a remainder of 4. The modulus operator can be used to determine whether a number is divisible by another among other things.


The modulus operator can be used only with integer operands?

Yes, the modulus operator (%) is used to find the remainder of a division operation between two integers. It can only be used with integer operands in programming languages. If you try to use it with non-integer operands, you may encounter errors or unexpected results.


What are some common applications of the modulus operator in programming languages?

The modulus operator in programming languages is commonly used for tasks such as determining if a number is even or odd, calculating remainders in division operations, implementing cyclic patterns, and indexing elements in arrays or lists.


State whether each what is TRUE or FALSE 1. All variables must be declared before they are used. 2. The modulus operator can be used only with integer operands.?

Both statements are true.


Why is m used in the slope formula?

what we now call just the "slope" was once called the "modulus of slope", the word "modulus" being used in its sense of "number used to measure" (as in "Young's modulus").


What character is used in an OR operator?

The logical OR operator in C and Java is the double vertical bar ().Example: if (s 0) do somethingThe operator applies a logical OR operator when it evaluates the expression.


What is modulous operator?

The modulus operator, often represented by the symbol %, is a mathematical operator that returns the remainder of a division operation between two integers. For example, in the expression 7 % 3, the result is 1 because when 7 is divided by 3, the quotient is 2 and the remainder is 1. It is commonly used in programming and mathematics to determine divisibility and to cycle through values within a range.


Which specifiar used for long double?

err long double


What is the types of modulus of elasticity?

1. Young's modulus of elasticity, E, also called elastic modulus in tension 2. Flexural modulus, usually the same as the elastic modulus for uniform isotropic materials 3. Shear modulus, also known as modulus of rigidity, G ; G = E/2/(1 + u) for isotropic materials, where u = poisson ratio 4. Dynamic modulus 5. Storage modulus 6. Bulk modulus The first three are most commonly used; the last three are for more specialized use


What is the difference between Young's modulus and elastic modulus?

Young's modulus and elastic modulus are often used interchangeably, but there is a subtle difference between the two. Young's modulus specifically refers to the ratio of stress to strain in the elastic region of a material's stress-strain curve, while elastic modulus is a more general term that can refer to any modulus of elasticity that describes a material's ability to deform elastically under stress.