WAP to input three numbers and find the greatest number using FUNCTION PROCEDURE.
Answers
Answered by
1
Answer:
WAP to enter any three numbers and display the greatest, smallest and the middle number
- DECLARE SUB GREAT (A, B, C) DECLARE SUB MIDDLE(A, B, C)
- SUB GREAT (A, B, C) IF A > B AND A > C THEN.
- SUB SMALL (A, B, C)
- DECLARE FUNCTION GREAT (A, B, C)
- FUNCTION GREAT (A, B, C)
- FUNCTION MIDDLE (A, B, C)
- FUNCTION SMALL (A, B, C)
Similar questions
Social Sciences,
5 hours ago
Computer Science,
5 hours ago
India Languages,
10 hours ago
Hindi,
10 hours ago
English,
8 months ago
Computer Science,
8 months ago