### Write an algorithm to find the largest number in a group of three integer numbers?

The following algorithm works for any number of integers: Assume the first number is the maximum - maximum = (first number). Compare your assumed maximum with the second number. If the second number is larger than the assumed maximum, replace the old assumed maximum with the second number. Repeat for the third number, for the fourth, etc. - always copying the nth. element to the assumed maximum if you find one that is larger than…

### Largest of three numbers without using ternary operators in java?

Initially assume the maximum is equal to the first number. Then compare the maximum to the second number; if the second number is larger than the temporary maximum, assign the second number to the maximum. Repeat for the third number. If you use a for loop, and an array, you can easily expand the program to get the largest out of much larger sets of numbers. Initially assume the maximum is equal to the first…

### What is the maximum numbers of sides that a polygon can have?

A polygon is different than regular shapes, like square, triangle, rectangle. A polygon can be a regular shape like a square, but it can also have countless lines, angles, and shapes it it. Take a pencil and piece of paper. Start at the top, middle of the page. Draw a short line there. Now, start making "steps" down both sides from that line. Suddenly stop and draw a line toward the middle of the page…