Algorithm For Compare two numbers #c
/* To display the largest one from given two numbers. */
1. Read the value of a and b.
2. if a>b then display a
else display b
/* To display the smallest one from given two numbers. */
1. Read the value of a and b.
2. if a<b then display a
else display b
1. Read the value of a and b.
2. if a>b then display a
else display b
/* To display the smallest one from given two numbers. */
1. Read the value of a and b.
2. if a<b then display a
else display b
Comments
Post a Comment