answersLogoWhite

0

What else can I help you with?

Continue Learning about Engineering

What is the algorithm for finding largest and smallest of given number?

To find the largest number: Assume (temporarily) that the first number is the largest number. You might call this the "largest number found so far". Then, for each number after the first one, compare the number with the largest number found so far. If the new number in the list is larger, call that one the "largest number found so far". Repeat for each number. After processing all the numbers, the "largest number found so far" will simply be the largest number.For example, if your list is (5, 2, 8, -1), you start assuming that 5 (the first number in the list) is the largest number. You compare with 2 - "5" is still the largest number, since 2 is smaller. When you compare with 8, you find that 8 is larger, so you replace your "largest number" with 8. "-1" is smaller, so nothing changes. Since we processed the entire list, the largest number is now 8.You can do the same - mutatis mutandis - to find the smallest number.


What are some jobs in the manufacturing field?

Manufacturing jobs can be in large factories or in smaller specialty jobs. One of the largest manufacturing employment fields is in metal fabrications.


What advantages does a cloud applications have over installed application?

There are countless advantages of cloud storage. you can save whatever you want in a secure online environment and also can store large amounts of your data safely.


What is different between a 737 and a 777?

A 737 is smaller and the longest you would ever fly on it is from Los Angeles to Hawaii. the 777 is one of the larger planes Boeing makes. It can fly almost anywhere in the world from a certain point. for example, it is generally used for flight from Los Angeles to London... or ever further.


What would happen to the brightness if you get a smaller bulb?

If smaller means less power for the same voltage, then a smaller bulb would result in less brightness. If smaller means less voltage for the same power, then a smaller builb would result in more brightness.

Related Questions

A list is ordered from smaller to largest when a sort is called Which sort would take the shortest time to execute?

Quick Sort


Which continent is the fifth largest continent?

Antarctica is the fifth largest. Go to http://www.worldatlas.com/geoquiz/thelist.htm to see the continent sizes ordered from 1-7.


Is the Appalachia mountain system the largest in the US?

No, the Rocky Mountains are the largest mountain system in the United States. The Appalachia mountain system is significantly smaller in size and runs along the East Coast.


What is the largest multiple of 15 but is smaller than 10 000?

The largest multiple of 15 smaller than 10,000 is 9990.


When is a smaller shadow formed?

at noon the shadow is point sized {smaller} and in morning and evening the shadow is the longest.


How can you tell from the angle measures of a triangle which side of the triangle is longest and shortest?

The smaller the angle, the smaller the side opposite it.


Is Uranus the largest or smaller planet?

Neither It is not small and is only the 3rd largest


Is a colossian squid the biggest animal in the animal kingdom?

No. The largest squid is smaller than the blue whale, which is the largest living marine animal. The colossal squid is the largest invertebrate animal. Conversely, the longest large animal is the lion's mane jellyfish, which can have tentacles more than 120 feet feet long (37 meters). It may possibly be exceeded in length by the much smaller but elastic bootlace worm, one dead specimen measuring 180 feet long.


Is the largest asteroid larger or smaller than Pluto?

The largest asteroid is far smaller the Pluto. The largest asteroid in our solar system is Ceres, with a diameter of about 900 kilometers. Pluto has a diameter of about 2,300 kilometers.


Is earth the 2nd largest or 3rd largest?

It's none of those. It's the largest of the 4 smaller ones. Overall it is the 5th largest.


Which planet is the largest Saturn or venus?

Saturn is the largest planet between the two. It is the second largest planet in our solar system, after Jupiter. Venus is smaller than Earth and significantly smaller than Saturn.


What is the largest integer smaller than 98.765?

The answer is 98.