M.P.SANJAY
| Subject: JAVA HELP Sun Aug 10, 2008 11:32 am | |
| HOW WOULD YOU EXPRESS THE FOLLOWING IN JAVA ?
a)Fn = 0.5 if x = 30 b)Vol = 3.145 r2h/3 |
|
abhas Active member
| Subject: Re: JAVA HELP Sun Aug 10, 2008 9:27 pm | |
| a) may be done with condition if(x==30){...}
b) might be written as double vol= (r*r)*(h/3);
...... is this what u wanted......
Last edited by abhas on Tue Aug 19, 2008 6:46 pm; edited 2 times in total |
|
SHASHANK N K Active member
| Subject: Re: JAVA HELP Sun Aug 17, 2008 4:34 pm | |
| dude i think for d first one it should be if(x==30) { float Fn=0.5; } |
|
abhas Active member
| Subject: Re: JAVA HELP Tue Aug 19, 2008 6:46 pm | |
| yes.... |
|
SHASHANK N K Active member
| Subject: Re: JAVA HELP Fri Aug 22, 2008 11:34 pm | |
| tanx a lot abhas 4 tell me dat m rite coz i hav almost 4gotten programmin.............. |
|