Computer Science, asked by thapaliyaprajesh63, 10 hours ago

WAP to input three numbers and find the greatest number using FUNCTION PROCEDURE.

Answers

Answered by armygirl00034
1

Answer:

WAP to enter any three numbers and display the greatest, smallest and the middle number

  1. DECLARE SUB GREAT (A, B, C) DECLARE SUB MIDDLE(A, B, C)
  2. SUB GREAT (A, B, C) IF A > B AND A > C THEN.
  3. SUB SMALL (A, B, C)
  4. DECLARE FUNCTION GREAT (A, B, C)
  5. FUNCTION GREAT (A, B, C)
  6. FUNCTION MIDDLE (A, B, C)
  7. FUNCTION SMALL (A, B, C)
Similar questions