answersLogoWhite

0

max=number

min=number

counter=1

start while(counter<=3)

read number

start if

max<number

max=number

else if

min>number

min=number

end while

write max

write min

/*modify the counter switch according to the number of values being compared if required*/

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you write a pseudocode program for finding out x to the power of y?

X**y


Write a pseudocode statement that declares the variable cost so it can hold real numbers?

floating-point variable cost


How to write pseudocode in Microsoft Word?

To write pseudocode in Microsoft Word, you can use the built-in Equation Editor or insert a text box and type your pseudocode inside it. You can also use a monospaced font like Courier New to format your pseudocode for better readability.


write a pseudocode to accept a number and find if it is prime or not?

Yes


How do you write a pseudocode algorithm to read a set of positive integers terminated by 0 and print their average as well as the largest of the set?

Find it yourself because I dont understand your launguage


How do you declare a variable holding real numbers in pseudocode?

In pseudocode, you can declare a variable holding real numbers by specifying the variable name followed by its type. For example, you might write REAL numberVariable; or DECLARE numberVariable AS REAL;. This indicates that numberVariable will store a real number value. You can then assign a value to it using an assignment statement, such as numberVariable = 3.14;.


Use the numbers 5678 to write an equation with the largest possible sum?

use the numbers 5,6,7,8 to write an equation with the largest possible equation


How do you write a pseudocode with conditions?

Start Input x, y ; If (x


Shell program for gcd of three given numbers?

write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html


How do you write the greatest decimal with the numbers 0368?

0.863 is the largest decimal you can make with these numbers:)


How do you write the 8051 micro controller alp for finding the largest number in an array?

1


Write the Pseudocode to find the factorial of a number?

Pseudo code+factorial