Larger

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Exercise 04 Write an algorithm that accepts two numbers and displays the larger of the two.

Step 1: Start the algorithm. Step 2: Accept the first number. Step 3: Accept the second number. Step 4: Compare the two numbers. Step 5: If the first number is greater than second number, display the first nu mber. Step 6: Else, display the second number. Step 7: End the algorithm.

You might also like