pestt/PESTT — Issue #5: Prime paths problem
Author: fcmartins
Created: 2012-02-25 17:16:50+00:00
State: open

The following code has 3 prime paths starting at node 0, but the program only shows one.

Example:

public void nextedFors () {
int soma = 0;
for (int i = 0; i < 10; i++) // Rui: podíamos simplificar estes nós...
for (int j = 0; j < 10; j++)
soma = i + j;
System.out.println(soma);
}