Header Ads Widget

Ticker

6/recent/ticker-posts

minimum and maximum number among two (ALGORITHM)

 COMPUTER GAYN

Q.  write algorithm  and draw flowhart to find the minimum and maximum number among two?

ans.:-        

                                             ALGORITHM

     

                  Step 1:Start

                  Step 2:Read two numbers A,B 

                  Step 3:If A>B,then print  A is Max and B is min.

                  Step 4:else B is Max and A is min.

                  Step 5:stop

       FLOWCHART




                                   










Post a Comment

0 Comments