answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Program to check whether the given two numbers are equal If not then find the greater of the given two numbers in javascript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program to accept 2 numbers and tell whether the product of the two number is equal to or greater than 1000?

C programm


When you do this you decide whether numbers are equal to less then or greater then other?

Comparison


When you do this you decide whether numbers are equal to less than or greater than each other?

Compare numbers.


How can you tell whether a number is divisible by 3?

If the sum of its' digits are divisible by 3 for all numbers greater than 9.


Which is greater 5 hundredths or 5 thousandths both in decimal?

5 hundredths is greater. Whether the numbers are written as decimals or fractions, or in some other base is totally irrelevant.


What is greater a negative or a fraction?

Since fractions can also be negative numbers, we cannot necessarily say whether a negative number or a fraction is greater, however, any positive fraction is greater than any negative number.


How can yo determine whether the LCM of two numbers is the product of the numbers or less than the product of the numbers?

If their GCF is 1, their LCM is their product. If their GCF is greater than 1, their LCM is less than their product.


Write a simple program algorithms flow charts to find out how many of the numbers from 1 to 10 is greater than 4?

/* c program for how many of the numbers from 1 to 10 is greater than 4? */#includevoid main(){int i ,j=0; /* j is used for counting the nos greater than 4 from 1 to 10*/for(i=1;i4)j++;printf("\n The numbers greater than 4 , from 1 to 10 is %d",j);}Algorithmstep 1:startstep 2 :initialize j=0step 3 :Initialize i=1,check whether i < 10 ,if true increment i else go to step 6step 4: check whether i >4 If true go to step5 ,else go to step 3step 5 :Increment j and then go to step 3step 6:print the value of jstep 7 :Stop


What is logic with examples?

* Address used in programs * This term can be applied no matter whether the program is running in real or protected mode. *simply means the numbers that specify where a program is pointing in the PC's main memory.


What is comparing numbers?

In math, the term comparing numbers refers to seeing which of two numbers is larger or smaller. To denote whether a number is greater or lesser than another number, you use the mathematical symbols for these terms. You also can compare two numbers using a number line.


What is a java alternative?

There are literally thousands of programming languages. Whether one of them is "an alternative" or not, depends on your specific needs. For example:C#, Python, PHP, and others are used to develop applications.Flash and Silverlight are used specifically to develop "rich" Web content. So is JavaScript, but I believe it is more limited. (JavaScript is unrelated to Java.)There are literally thousands of programming languages. Whether one of them is "an alternative" or not, depends on your specific needs. For example:C#, Python, PHP, and others are used to develop applications.Flash and Silverlight are used specifically to develop "rich" Web content. So is JavaScript, but I believe it is more limited. (JavaScript is unrelated to Java.)There are literally thousands of programming languages. Whether one of them is "an alternative" or not, depends on your specific needs. For example:C#, Python, PHP, and others are used to develop applications.Flash and Silverlight are used specifically to develop "rich" Web content. So is JavaScript, but I believe it is more limited. (JavaScript is unrelated to Java.)There are literally thousands of programming languages. Whether one of them is "an alternative" or not, depends on your specific needs. For example:C#, Python, PHP, and others are used to develop applications.Flash and Silverlight are used specifically to develop "rich" Web content. So is JavaScript, but I believe it is more limited. (JavaScript is unrelated to Java.)


Can these lengths make a triangle 5.0 4.8 9.1?

Check whether the largest of the numbers is greater than or equal to the sum of the other two. If it is, then you can't make a triangle; otherwise you can.