Write a Python program that reads 3 integer numbers, then it will display the pair with the
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a Python program that reads 3 integer numbers, then it will display the pair with the largest sum as shown in the sample runs.
Sample run1:
Enter value1: 6
Enter value2: 9
Enter value3: 3
The pair with largest sum = (6,9) their sum is 15
Sample run2:
Enter value1: 3
Enter value2: 4
Enter value3: 6
The pair with largest sum = (4,6) their sum is 10
Sample run3:
Enter value1: 5
Enter value2: 9
Enter value3: 6
The pair with largest sum = (9,6) their sum is 15
Sample run4:
Enter value1: 8
Enter value2: 6
Enter value3: 10
The pair with largest sum = (8,10) their sum is 18
Related Book For
Posted Date: