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


Groups > comp.lang.java.help > #2538

Re: Helpppp plzzz

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.help
Subject Re: Helpppp plzzz
Date 2013-02-24 00:17 -0800
Organization Canadian Mind Products
Message-ID <f1jji81i125o2d741u6bkd7ckdstf3npgf@4ax.com> (permalink)
References <6764b4a4-d242-410a-9a1e-603b0a7f5695@googlegroups.com>

Show all headers | View raw


On Thu, 21 Feb 2013 10:30:08 -0800 (PST), "Sara M."
<kasra.song@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>    Problem 1: 57.2*(i1/i2)+1;
>         Problem 2: 57.2*((double)i1/i2)+1;
>         Problem 3: 15-i1*(d1*3)+4;
>         Problem 4: 15-i1*(int)(d1*3)+4;
>         Problem 5: 15-i1*((int)dl*3)+4;  =20

This does not look much like Java.

You can't use spaces in labels.

You must print out expressions or put them in variables.  Just
computing them is nearly always pointless.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The generation of random numbers is too important to be left to chance. 
~ Robert R. Coveyou (born: 1915 died: 1996-02-19 at age: 80)

Back to comp.lang.java.help | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Helpppp plzzz "Sara M." <kasra.song@gmail.com> - 2013-02-21 10:30 -0800
  Re: Helpppp plzzz Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-02-21 13:57 -0500
  Re: Helpppp plzzz Roedy Green <see_website@mindprod.com.invalid> - 2013-02-21 18:13 -0800
    Re: Helpppp plzzz Lew <lewbloch@gmail.com> - 2013-02-21 18:31 -0800
  Re: Helpppp plzzz Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-02-22 10:00 -0800
  Re: Helpppp plzzz Roedy Green <see_website@mindprod.com.invalid> - 2013-02-24 00:17 -0800

csiph-web