Project 12

nested loop and break (75 points)


Sample output1

Please enter a whole number : 34g
Please enter a whole number : 3t4
Please enter a whole number : rhf
Please enter a whole number : 34
Please enter a second whole number : 1w3
Please enter a second whole number : w4
Please enter a second whole number : 13
The sum of 34 and 13 is 47.


Sample output2

Please enter a whole number : 23
Please enter a second whole number : 55
The sum of 23 and 55 is 78.


Sample output3

Please enter a whole number : 10
Please enter a second whole number : e45
Please enter a second whole number : 4t5
Please enter a second whole number : 45
The sum of 10 and 45 is 55.