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


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

Re: Im stuck :-s plz help again LOL

From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.help
Subject Re: Im stuck :-s plz help again LOL
Date 2013-02-24 18:06 -0800
Organization A noiseless patient Spider
Message-ID <kgegt8$fs1$1@dont-email.me> (permalink)
References <74bb5922-3b7d-4d38-8231-e4d69647ad44@googlegroups.com> <kgef4q$93p$1@dont-email.me> <afeff89b-754f-4492-88d3-ad789236536b@googlegroups.com>

Show all headers | View raw


On 2/24/2013 5:44 PM, Sara M. wrote:

>>> final double PROGRAM3=15 � i1 * ( d1 * 3) + 4;
>>
>>> final double PROGRAM4=15 � i1 * (int)( d1 * 3) + 4;
>>
>>> final double PROGRAM5=15 � i1 * ( (int)d1 * 3) + 4;

>
> I know how to print it but it gives me a error the print is
> System.Out.Println(); but the last 3 lines of the code are having an
> issue that is what i dont get ! i dont see where the problem is


You mean those three lines?  Better look again, I think you have some 
funny characters in there.

> and in the second assignment i dont get how you can print the whole
> formula cause in java when you type 5/2 you automatically get 2  and
> not the whole formula  5/2=2

You'll need to print the formula as a string first, then the value you 
calculated.



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


Thread

Im stuck :-s plz help again LOL "Sara M." <kasra.song@gmail.com> - 2013-02-24 17:18 -0800
  Re: Im stuck :-s plz help again LOL Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-02-24 20:36 -0500
    Re: Im stuck :-s plz help again LOL "Sara M." <kasra.song@gmail.com> - 2013-02-24 17:44 -0800
      Re: Im stuck :-s plz help again LOL markspace <markspace@nospam.nospam> - 2013-02-24 18:06 -0800
      Re: Im stuck :-s plz help again LOL Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-02-24 22:26 -0500

csiph-web