answersLogoWhite

0

The basic idea is as follows. Assume an array n(), of ten elements.* Set variable "highest" to the first number, n(1).

* Set index "i" equal to 2.

* Do the following in a loop:

* If n(i) is greater than "highest", replace "highest" with n(i).

* Increment i by 1.

* Compare whether "i" is greater than 10. If it is, leave the loop.

* Display variable "highest".

User Avatar

Wiki User

7y ago

What else can I help you with?

Continue Learning about Math & Arithmetic

Determine the highest of the three input numbers using flowchart?

(start) /a=0 c=0\ \b=0 / /input a/ /input b/ /input c/ /a>b\ no /b>c\ yes /display b/ -> (a) \ / \ / yes no /a>c\ no /display c/ -> (a) \ / yes /display a/ <- (a) (end)


How do you design a flowchart to input two numbers and swap their values?

To design a flowchart for inputting two numbers and swapping their values, start with a terminal symbol indicating the start. Next, use input/output symbols to prompt the user to enter the two numbers, labeling them as A and B. Then, employ a process symbol to perform the swap, which can be done using a temporary variable, such as: temp = A; A = B; B = temp. Finally, use another input/output symbol to display the swapped values of A and B, and end the flowchart with a terminal symbol.


How can we draw Flowchart showing product of first ten odd numbers?

To create a flowchart for calculating the product of the first ten odd numbers, begin with a start symbol, then initialize a variable for the product and a counter at 1. Use a loop structure to multiply the current product by the odd number (which can be calculated as 2n - 1 where n is the counter) and increment the counter until it reaches 10. Finally, display the product and use an end symbol to conclude the process. This flowchart visually represents the steps and decisions involved in the calculation.


Do Primary keys have to be numbers that are entered by the user?

Primary keys have to be numbers that are entered by the user.


Draw a flowchart to arrange 3 numbers in ascending order?

draw a flow chart to arrange 3 numbers in ascending order

Related Questions

Draw a flowchart to accept 3 numbers and display the largest number?

draw a flowchart to display the first tenth even number


Draw a flowchart to accept five numbers and display the sum of the numbers?

start, inputbox,inputbox,inputbox,inputbox,inputbox,progresh,display,stop 


Determine the highest of the three input numbers using flowchart?

(start) /a=0 c=0\ \b=0 / /input a/ /input b/ /input c/ /a>b\ no /b>c\ yes /display b/ -> (a) \ / \ / yes no /a>c\ no /display c/ -> (a) \ / yes /display a/ <- (a) (end)


Prepare a flowchart that sorts 10 numbers from highest to lowest?

There are many programs that will allow a person to prepare a flow chart that sorts 10 numbers from highest to lowest. PowerPoint, Microsoft Works, and Open Office will all allow a person to create a flowchart.


Flowchart for addition of two numbers?

start accept a,b and c c=a+b display c stop


Draw a flowchart that will only display numbers divisible by ten The range is from 1 to 100?

for(int i= 51;i<=60;i++) cout<<i;


Which part of the calculator show the numbers and symbols entered?

Display screen


Develop an algorithm to display all prime numbers from 2 to 100 Give both the pseudocode version and the flowchart version Convert your pseudocode into a Java program?

Develop an algorithm to display all prime numbers from 2 to 100. Give both the pseudocode version and the flowchart version. Convert your pseudocode into a Java program.


Draw a flowchart that will determine and display the largest among the three numbers being inputted?

start input A & B if A>B print A is greatest if B>A print B is greatest stop james ola writes.....SOT.


Define flowchart and draw flowchart for GCD of two numbers?

pictorial representation of a program is called a flowchart


Draw a flowchart to generate odd numbers between 100?

Draw a flowchart to generate odd numbers between 100?


Consider prime numbers between 1 and 10000. Draw a flowchart to display the prime numbers.Write a pseudo code associated with the flowchart in a)?

A) Here's an example of a flowchart and pseudocode that could be used to display the prime numbers between 1 and 10000: Flowchart:
START Set up an array of numbers from 1 to 10000 Set an empty array to store the prime numbers Set i = 2, the first prime number For each number in the array, check if it is divisible by i If it is divisible by i, it is not a prime number and move to the next number in the array If it is not divisible by i, it is a prime number and add it to the prime numbers array Increase i by 1 and go back to step 4 Repeat steps 4 through 7 until i is greater than the square root of 10000 Display the prime numbers array END