All pastes #390451 Raw Edit

Miscellany

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