start
input A & B
if A>B print A is greatest
if B>A print B is greatest
stop
james ola writes.....SOT.
Assume the first number is the largest and store it. Compare with each of the remaining numbers in turn. If any are larger, assume it to be the largest, update the stored value and continue comparing. When all numbers have been compared, the stored value is the largest of all four
write an algorithm the biggest of the three number of flow chart
Draw a flow chart to find the greatest number among two numbers
Draw a flow chart for a program that will find highest number between three inputted number (X,y and z)
DRAW A FLOWCHART To find the largest value of any three numbers.
draw a flowchart that will accept two number and display the highest number
Draw a flowchart to find the largest of three numbers x, y and z.
i
draw a flowchart to display the first tenth even number
identification division. program-id. greatest. environment division. data division. working-storage section. 77 a pic 999. 77 b pic 999. 77 c pic 999. procedure division. greatest. display "ENTER THE THREE NUMBERS:". accept a. accept b. accept c. if a > b and a > c display a "is greatest" else if b > c display b "is greatest" else display c "is greatest". display " thank you". stop run.
program that take three decimal number as input and find the largest among them in assembly language
For this you need two variables, a and b. Generate the first number and assign it to a. Generate the second and assign it to b. If b is greater than a, assign b to a. Generate the third number and assign it to b. If b is greater than a, assign b to a. Print a. A better method is to use the following function to determine the largest of any two values: int max (int x, int y) { return x>y ? x : y; } Once you know the largest of any two values you can easily determine the largest of any three values with a nested call: int max_of_three (int a, int b, int c) { return max (max (a, b), c)); } Note that we determine the largest of a and b first and then pass that value to a second call along with c, thus establishing the largest of all three. To determine the largest of n values, store the numbers in an array and pass the array and its length to this function: int max_of_n (int a[], size_t n) { int m = a[0]; // store first value while (--n) if (a[n]>m) m=a[n]; // update m whenever a[n] is greater return m; }
Assume the first element is the largest and store its value. Then traverse the remainder of the list, one element at a time. If the current element's value is larger than the stored value, overwrite the stored value with the current element's value. Once you've traversed the list, the stored value will hold the largest value.
draw a flowchart to display the first tenth even number
Ako budoy xd hahahahaahha
Step1- Read a,b,c. Step2-if a>b continue step 5. Step3- b>c then print “b is the largest " and continue step 7. Step4- continue step 6 Step5-if a>c then print “a is the largest " then continue step7. Step6- print “z is largest". Step7- end.
The largest number possible is infinity
It depends on the type of calculator you have. If you have a 8-digit calculator, the largest square number you can display is 99,980,001. If you have a 10-digit calculator, the largest square number you can display is 9,999,800,001. With a TI-84, you can display 9.999999999e99 (which is actually rounded).
As far as I can determine, it is the largest magnitude constant.
U.S. states of Pennsylvania (The County_seatis Doylestown)
cool
Yes, a karyotype is a display of an organism's chromosomes (generally in homologous pairs from largest to smallest).
The largest angle in a triangle is opposite to its longest side
1,000000000000,00000000000000,00000000,000000000000,00000000000,00000000000,00000,0000000000,000000,actually, there is no such thing as 'the largest number'.
Read 2 numbers. If first is larger than second, display second, else display first. That's for the smallest. For the largest reverse the two. For each of the other two, it's easier to just create a variable, call it largest. Initialize it to a very small number, say -1. As you read each number, compare it to largest. If the number is larger than largest, set largest equal to the number. When you finish each list of numbers, then print largest. Best answer Read 2 numbers. If first is larger than second, display second, else display first. That's for the smallest. For the largest reverse the two. For each of the other two, it's easier to just create a variable, call it largest. Initialize it to a very small number, say -1. As you read each number, compare it to largest. If the number is larger than largest, set largest equal to the number. When you finish each list of numbers, then print largest.