It's not easy to show a flow chart using a text-based forum. Instead, I'll show the algorithm using pseudocode. You should be able to draw a flowchart from this.
This a text-based forum. We can't "draw" anything. All we can do is describe the procedure in words.
To find the maximum in a set of numbers, store the first value, then iterate through the remaining values, comparing each with the one that you stored. If the stored value is less than the current value, replace the stored value with the current value. When you've iterated through all the values, the stored value will contain the largest value.
In C++, you'd use the following function to determine the largest value in the given array, A, of the given size:
int max(int A[], size_t size)
{
int result=0;
if( size )
{
result=A[0];
for(int i=1; i<size; ++i )
if(result<A[i])
result=A[i];
}
return(result);
}
There are special flow-chart rulers that help you to draw the different boxes.
first draw the box and writ as start, and draw a arrow and draw input box and write as "Input first no as (A)","Input second no as (B)","input third no as "C".
and draw a arrow, and draw a decision box and give as " if A>B". and draw two line as correct"yes" and false"no". Ongoing of "yes" arrow draw a process and type "A=X" to express "A" 's value as "x" 's value. so x=a, and Ongoing of "no" arrow draw a process and type "B=X" to express "B" 's value as "x" 's value. so x=b, and get the outer two arrow of the processes and connect together. and connect that to a new function as"X>C" if yes type in the output box as Print "X" . if not Print "c". and conect the outer arrows as the end box...........
i used here that only two function boxes here. if u have any doubts pls contact me via my mail.............
(ahamedzaki19981010@gmail.com)
(+94) 777 353 623
It is not possible to draw a flowchart here, however we can show you the algorithm in pseudocode which should help you to draw your own flowchart:
Algorithm: get_rangeis:
Input: a zero-based array of n values, v[n], such that n>0
Output: the min and max values in the closed range v[0:n-1]
let min := v[0]
let max := v[0]
for i := 1 to n-1
if v[i] < min then
let min := v[i]
else if v[i] > max then
let max := v[i]
end if
next i
return min, max
itanong mo sa matalino mong kaklaseng si ralen alam nya yan 4 sure may bayad nga lang hakhakhak
itanong mo sa matalinong mong kaklaseng si ralen :) alam nya yan 4 sure
max & min of a number is the number itself.
no flowchart required
1ekar=
draw a flowchart to display the first tenth even number
draw a flowchart to find the biggest number among the 3 numbers
start input A & B if A>B print A is greatest if B>A print B is greatest stop james ola writes.....SOT.
A flowchart for factorial of number can be made using different software's. Microsoft Word is the most popular software for beginners to make simple flowcharts.In order to draw the flowchart write the number at the top of the paper and then draw two lines under it going slightly to the sides. Decide what two numbers can be multiplied to equal that number. Keep going until you can no longer get to smaller numbers.
please give me an algorithm and a corresponding flow chart that displays list of numbers from 1 to 20.
There are two consecutive odd numbers such that five times the smaller plus twice the greater is 25. What is the smaller number?
On a number line, the numbers start with zero and get larger as they move to the right, They are negative and get smaller as they move to the left from the zero. To find which number is greater, you can find the places of two numbers on the line and the one on the right is greater.
The mass number is the sum of protons and neutrons.
1
draw a flowchart to display the first tenth even number
None. If a number is smaller than 36 it cannot be greater than 89.
Any three numbers where the sum of the two smaller numbers is greater than the third number. List the numbers in order from least to greatest, repeating any number if necessary. Add the first two numbers together and if this sum is greater than the third number then a triangle with those sides can be made. ie if the sum of the two smaller numbers is greater than the third number then a triangle can be made.
52 and 156.
11
The number with the smaller absolute value (magnitude) is greater.
No. Odd numbers can be greater than, smaller than, or equal to prime numbers.
Not always, if the smaller number is 0 or a negative number. Then their sum will be equal or less than the greater number.