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
Science,
28 days ago
Math,
28 days ago
India Languages,
1 month ago
Hindi,
1 month ago
English,
9 months ago
Computer Science,
9 months ago