1 If you had the test to screen for colon cancer and you're at average risk â you have no colon cancer risk factors other than age â your doctor may recommend waiting one year and then repeating the test. 2  Positive result. 3  A fecal occult blood test is considered positive if blood is detected in your stool samples. A fecal occult blood test is considered positive if blood is detected in your stool samples. 2  You may need additional testing â such as a colonoscopy â to locate the source of the bleeding.
1 Note that we have to import java.util.InputMismatchException in order to use the InputMismatchException class.  We are using a while loop to ask the user the same question until the user enters the correct input.
The For Loop. The for loop is used when you know in advance how many times the script should run. Explanation: The example below defines a loop that starts with i=0. The loop will continue to run as long as i is less than, or equal to 10. i will increase by 1 each time the loop runs. Note: The increment parameter could also be negative, and the <= could be any comparing statement. How to use the for loop to loop through the different HTML headers.