Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27597
| Path | csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!mit.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Simon Lewis <simonlewis2001@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: java code |
| Date | Wed, 26 Feb 2014 16:10:30 +0100 |
| Organization | Lewis |
| Lines | 62 |
| Message-ID | <87mwhd7vvd.fsf@gmail.com> (permalink) |
| References | <ac8eddc9-1375-4387-9fe4-89a8a11ef11f@googlegroups.com> <1o6dnRRLlOIZI5TOnZ2dnUVZ7oednZ2d@bt.com> <Ba9Pu.17001$yN4.14072@fx29.iad> <S6WdnaPBEp68nZPOnZ2dnUVZ8tudnZ2d@bt.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mit.eternal-september.org; posting-host="475ccc96e3cbf884c6c198b8d8a24d43"; logging-data="32332"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ynMSaPUfX2NbSij8H6/5o/3syLau3qMQ=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| Cancel-Lock | sha1:az32YSFGhuXit1zbWgBBLEI8iXk= sha1:mPdOcP5PtaeLe6sACud2QWNgMdE= |
| Xref | csiph.com comp.lang.java.programmer:27597 |
Show key headers only | View raw
lipska the kat <lipskathekat@example.com> writes:
> On 25/02/14 22:54, Daniel Pitts wrote:
>> On 2/23/14 1:25 AM, lipska the kat wrote:
>>> On 21/02/14 00:03, jay'el antonio wrote:
>>>> please someone help me..what is the code of this output program using
>>>> java
>>>> 11
>>>> 221
>>>> 3321
>>>> 44321
>>>> 554321
>>>> 6654321
>>>> 77654321
>>>> 887654321
>
> <snip>
>
>> You are a Troll, sans Hunter. You also made that far more complicated
>> than it needs to be.
>>
>> public class BetterThanATroll {
>> public static void main(String[] args) {
>> String s = "";
>> for (int i = 1; i <= 8; ++i) {
>> s = i + s;
>> System.out.println(i + s);
>> }
>> }
>> }
>
> Well now let's analyze your 'solution' shall we.
>
> Agreed the 'specification' is a little lacking but as we are unable to go back
> to the client at this time we need to make some assumptions.
>
> Assumption 1. It's 'homework'
>
> OK, now what do you imagine the learning objectives are?
>
> Well it certainly looks 'loopy' so
>
> Assumption 2. It's intended to get the student to learn about loop control
> variables, possibly to control nested loops.
>
> The output is numeric so
>
> Assumption 3. It's intended to exercise some understanding of manipulation of
> numeric variables ...
>
> Well that's about it for the assumptions, now how does your solution meet the
> objectives?
>
> ... ah yes, String concatenation in a for loop
>
> 1/10 for effort
Nicely done. Why is that Java groups and IRC channels in particular are
so full of self inflated pompous idiots who seem to be there only to
belittle others and demonstrate their inate stupidity and narrow
mindedness?
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
java code "jay'el antonio" <jlantonio10@gmail.com> - 2014-02-20 16:03 -0800
Re: java code Stuart <DerTopper@web.de> - 2014-02-21 14:29 +0100
Re: java code Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2014-02-22 01:10 -0600
Re: java code Jan Burse <janburse@fastmail.fm> - 2014-02-22 12:36 +0100
Re: java code Stuart <DerTopper@web.de> - 2014-02-22 13:57 +0100
Re: java code Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2014-02-22 12:05 -0600
Re: java code Stuart <DerTopper@web.de> - 2014-02-22 20:02 +0100
Re: java code Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-02-23 00:52 -0800
Re: java code Roedy Green <see_website@mindprod.com.invalid> - 2014-02-21 08:55 -0800
Re: java code lipska the kat <lipskathekat@example.com> - 2014-02-23 09:25 +0000
Re: java code Lew <lewbloch@gmail.com> - 2014-02-23 20:47 -0800
Re: java code lipska the kat <lipskathekat@example.com> - 2014-02-24 09:06 +0000
Re: java code Arne Vajhøj <arne@vajhoej.dk> - 2014-02-24 19:23 -0500
Re: java code lipska the kat <lipskathekat@example.com> - 2014-02-25 09:22 +0000
Re: java code Lew <lewbloch@gmail.com> - 2014-02-25 15:08 -0800
Re: java code lipska the kat <lipskathekat@example.com> - 2014-02-26 08:47 +0000
Re: java code leif.roar@invalid.com (Leif Roar Moldskred) - 2014-02-25 03:56 -0600
Re: java code Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2014-02-25 14:54 -0800
Re: java code lipska the kat <lipskathekat@example.com> - 2014-02-26 09:07 +0000
Re: java code Simon Lewis <simonlewis2001@gmail.com> - 2014-02-26 12:40 +0100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-02-26 14:54 +0000
Re: java code Simon Lewis <simonlewis2001@gmail.com> - 2014-02-26 16:10 +0100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-02-26 15:45 +0000
Re: java code Robert Klemme <shortcutter@googlemail.com> - 2014-02-27 14:01 +0100
Re: java code Simon Lewis <simonlewis2001@gmail.com> - 2014-02-27 14:48 +0100
Re: java code leif.roar@invalid.com (Leif Roar Moldskred) - 2014-02-27 09:49 -0600
Re: java code Joerg Meier <joergmmeier@arcor.de> - 2014-02-27 19:24 +0100
Re: java code Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2014-02-26 12:53 -0800
Re: java code Lew <lewbloch@gmail.com> - 2014-02-28 16:10 -0800
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-01 08:36 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-01 20:51 +1100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-01 10:31 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-01 21:44 +1100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-01 10:49 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-01 21:58 +1100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-01 12:00 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-02 11:36 +1100
Re: java code Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2014-02-26 12:59 -0800
Re: java code David Lamb <dalamb@cs.queensu.ca> - 2014-02-28 20:42 -0500
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-01 08:58 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-01 21:00 +1100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-01 10:45 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-01 22:04 +1100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-01 12:13 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-02 11:05 +1100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-02 08:57 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-02 22:02 +1100
Re: java code lipska the kat <lipskathekat@example.com> - 2014-03-02 11:57 +0000
Re: java code leif.roar@invalid.com (Leif Roar Moldskred) - 2014-03-02 06:57 -0600
Re: java code David Lamb <dalamb@cs.queensu.ca> - 2014-03-02 15:21 -0500
Re: java code rossum <rossum48@coldmail.com> - 2014-02-26 22:06 +0000
Re: java code "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-02-27 14:01 +1100
Re: java code v_borchert@despammed.com (Volker Borchert) - 2014-03-01 19:52 +0000
csiph-web