WhatsApp Channel
Join Now
Telegram Channel
Join Now

Write a algorithm to find the large of two numbers

Sunil

Solution:

Step 1: Input first number as A  

Step 2: Input second number as B  

Step 3: 

    IF A > B THEN  

        Print A  

    ELSE IF A < B THEN  

        Print B  

    ELSE  

        Print "The numbers are equal"  

    END IF  

Step 4: End


Post a Comment

Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.