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 write a pseudocode with conditions?

Start Input x, y ; If (x


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 the greatest decimal with the numbers 0368?

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


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 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


Write is the pseudo code that reads two numbers and multiplies them together and print out their product?

Certainly! Here's a simple pseudocode snippet that reads two numbers, multiplies them together, and prints out their product: 1. Read firstNumber 2. Read secondNumber 3. product = firstNumber * secondNumber 4. Print product In this pseudocode, we first read the two numbers, then multiply them to calculate the product, and finally print out the result.