All pastes #560273 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-12 01:38 UTC
rendered paste body
package ConsoleApplication1;


public class Program
{
	public static void main(String[] args)
	{
		String pi = new String("NUM_PI");
		String strtmp;
		int tmp;

		for (int i = 0; i < pi.get_Length(); i++)
		{
			if (i > pi.get_Length())
				break;

			strtmp = "";
			tmp = 0;
			for (int m = i; m < (i + 10); m++)
			{
				if (m > (pi.get_Length()-1))
					break;
				tmp += (int)Character.getNumericValue(pi.charAt(m));
				strtmp += pi.charAt(m) + ", ";
			}

			if (tmp == 13)
			{
				System.out.println("Find :D:" + strtmp);
				break;
			}
			else
			{
				System.out.println("Aun no: " + tmp + " " + strtmp);
			}
		}

	}
}