Path: csiph.com!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail From: nobody@example.org (Scott) Newsgroups: comp.lang.java.programmer Subject: Re: Subtraction question. Yes, apparently I can't subtract Date: Thu, 26 Sep 2019 16:38:46 GMT Organization: XMission http://xmission.com/ Message-ID: <5d8ce89e.1024112218@core> References: <9884f2a0-2655-4ca4-bec6-06501e96129c@googlegroups.com> <013d1571-59e0-4ff4-9119-cc54c936db7d@googlegroups.com> Injection-Info: news.xmission.com; posting-host="shell.xmission.com:2607:fa18:0:beef::4"; logging-data="30166"; mail-complaints-to="abuse@xmission.com" X-Newsreader: Forte Free Agent 1.21/32.243 Xref: csiph.com comp.lang.java.programmer:39160 On Thu, 26 Sep 2019 07:57:56 -0700 (PDT), Eric Douglas wrote: >On Thursday, September 26, 2019 at 9:54:59 AM UTC-4, chad altenburg wrote: >> if (nums[i] == 7 && nums[i+1] == 7) return true; > >1. I'm not sure what this has to do with 'subtraction'. >2. Your code is wrong. >3. Is this some sort of homework problem? It reminds me of the kinds of problem they have on on CodingBat.