Tonithy

2,270
reputation
1
17
20

int licks = 0; while(!tootsiePop.atCenter()) { tootsiePop.lick(); licks++; }

System.out.println("How many licks does it take to get to the tootsie roll center of a tootsie pop?\r\n " + licks);