I have searched for this and could not find it. It is not in my textbook either.
Okay my prompt looks this... say the user enters "1 4 junk data"
i.e.
Enter two numbers: 1 4 junk data
How do I get those 2 numbers and ignore "junk data"? Thank you for your help.