Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37090

Re: A small challenge at beginner's level

Path csiph.com!news.mixmin.net!news.albasani.net!.POSTED!not-for-mail
From Sebastian <nowhere@nirvana.org>
Newsgroups comp.lang.java.programmer
Subject Re: A small challenge at beginner's level
Date Tue, 8 Aug 2017 22:59:54 +0200
Organization albasani.net
Lines 18
Message-ID <omd8oa$6bb$1@news.albasani.net> (permalink)
References <exercise-20170803112636@ram.dialup.fu-berlin.de> <slrnoo6aad.o2q.avl@logic.at> <199fd5af-e4a2-4451-97bf-0e19ad9fc2d9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net KcorgOdPQZ3oTZJx5F1WEIyFTtTGZfhujf+2zeN9XB03YO45QO+5MPSi7/rHrh9sI3vZ0FvzHYQ2aONmlTO07g==
NNTP-Posting-Date Tue, 8 Aug 2017 20:59:54 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="pkc2xIGJ7OumUN4PG66yiZgAwSDPAep1QwxL2cwFnDjqA5PmKuItPjKZ3vyrneWR44F1RSGDW3QHEFKR5DG1K8bWvdgiodrHwLctlKE6u6djJN6Bbg6b87cwfTKL9SNO"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
In-Reply-To <199fd5af-e4a2-4451-97bf-0e19ad9fc2d9@googlegroups.com>
Cancel-Lock sha1:xHAd14OehFDoOYpiUq/QO8oXWU8=
Xref csiph.com comp.lang.java.programmer:37090

Show key headers only | View raw


Am 08.08.2017 um 17:01 schrieb Eric Douglas:
> On Thursday, August 3, 2017 at 9:47:12 AM UTC-4, Andreas Leitgeb wrote:
>> String.format("you have%5.5s.",String.format("%"+(1+4*Math.round(Math.random()))+".1s"," lost")+"won")
>>
>> certainly newbie level ;-)
>
> Stefan's posts don't show up in Google Groups, so I'd like to see the original full question.
> The first simple beginner's challenge should of course be the FizzBuzz test.

You can get into deep waters with FizzBuzz. You could even teach an 
entire undergraduate course about programming principles with it. See 
for example
http://www.tomdalling.com/blog/software-design/fizzbuzz-in-too-much-detail/

-- Sebastian


Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: A small challenge at beginner's level Andreas Leitgeb <avl@logic.at> - 2017-08-03 13:42 +0000
  Re: A small challenge at beginner's level Andreas Leitgeb <avl@logic.at> - 2017-08-03 14:02 +0000
  Re: A small challenge at beginner's level Martin Gregorie <martin@address-in-sig.invalid> - 2017-08-03 22:47 +0000
  Re: A small challenge at beginner's level Eric Douglas <e.d.programmer@gmail.com> - 2017-08-08 08:01 -0700
    Re: A small challenge at beginner's level Sebastian <nowhere@nirvana.org> - 2017-08-08 22:59 +0200
      Re: A small challenge at beginner's level Eric Douglas <e.d.programmer@gmail.com> - 2017-08-09 05:16 -0700
    Re: A small challenge at beginner's level Arne Vajhøj <arne@vajhoej.dk> - 2017-08-08 21:00 -0400

csiph-web