All pastes #390452 Raw Edit

Untitled

public java v1 · immutable
·published 2007-03-11 13:40 UTC
rendered paste body
	public void Decrypt(String guess, String real)	{				for(int i = 0; i < real.length(); i++)		{			char a = real.charAt(i);			char b = guess.charAt(i);			if(a == b)			{				gRight = gRight + 1;			}		}		tPercent = real.length() / 100;		tPercent = tPercent * gRight;			}	public double getPercent()	{		return tPercent;	}