# Search:

Type: Posts; User: haibhailie

1. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

yeah just ditch tht problem, i got it ;)

now im doing the second one
how do you put 3 functions in one program??
2. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

and wht are highlinght tags????
3. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

I am now doing the 3rd question...
my script till now is:
class ProfitAndLoss
{
public static void findResult(int sp,int cp);
{
if (sp>cp);
{
...
4. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

my final script, finally compiled and worked ^^ tysm kevin workman!!!!
5. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

i got a script:

class Triangle
{
public static void findArea(int a,int b, int c)
{
if (a+b>c);
{
double x=a*b*c/2;
...
6. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

ok, yh i didnt quite get it lol...

my program:
class Triangle
{
public static void findArea(int a,int b, int c)
{
if a+b>c,a+c>b,b+c>a
{
...
7. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

omg...ty sooo much!!!! i got it!!!!! :D yay!!!
8. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

i havent actually learnt that if statement and boolean literal, thats wht i need help in.
9. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

when two sides are greater than the other, a triangle can be formed. when they are not, it cannot.
10. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

when a+b<c
b+c<a and a+c<b, triangle cannot be formed.

but if instead of these, we use:a+b>c
b+c>a and a+c>b
ittl work.
11. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

uhm, maybe just putting in the required things needed, and if it meets up, just give the area, and if it doesnt, say triangle cannot be formed....not quite get wht u mean though...
12. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

i did the class triangle but am not getting the boolean part of it. I have got the part where find the area, but have not got where it tells us to say "triangle cannot be formed".
My script until...
13. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

thank you,
i hadent seen that. :D
14. ## Thread: Taking a square root in Java, answer appears as 0.0. Why?

by haibhailie
Replies
7
Views
2,143

### [SOLVED] Re: Taking a square root in Java, answer appears as 0.0. Why?

you can try :

class SquareRoot
{
public static void findSqrt(double n)
{
double a=Math.sqrt(n);
System.out.print("Square Root="+a);
}
...
15. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

i do only small projects without the args etc.
only like
public static void diplay findResult(int n,int x)
{
/then like/ double a,b,c;
/and then just...
16. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### Re: PLEASE HELP!!!!!!

Well, im not getting stuck...lol
i dont know how to do them for i was absent when the explanation was going on sir.
17. ## Thread: PLEASE HELP!!!!!!

by haibhailie
Replies
28
Views
1,230

### PLEASE HELP!!!!!!

I am new to java and really need help!!!!
I need to create a:
1. class triangle with a method to find the area of a triangle using three sides, only if they form a valid triangle.Otherwise display...
Results 1 to 17 of 17