To accept two number and display the greater one.



Answer: -
Step 1: Start
Step 2: Accept first number and store in A
Step 3: Accept second number and store in B
Step 4: Check Is A greater than B
            If Yes: Display “Greater Number is” A
            If No: Display “Greater Number is” B
Step 5: End

Comments

Popular posts from this blog

To accept marks of five subject and display pass or fail ( if pass display Percentage too).

To accept two numbers and display their sum, product, difference, division.