All pastes #345968 Raw Edit

Stuff

public java v1 · immutable
·published 2007-02-08 23:39 UTC
rendered paste body
public static int addInts(int i) {		int added=0;		while (i != 0) {			added = added + (i%10);			i = i - (i%10);			i = i/10;		}		return added;	}