Hello Everyone,
I am having a problem with my homework. They are asking for a method call that takes the large of two absolute values.
Write a method called largerAbsVal that takes two integers...
Type: Posts; User: Williamscn
Hello Everyone,
I am having a problem with my homework. They are asking for a method call that takes the large of two absolute values.
Write a method called largerAbsVal that takes two integers...
yeah I have tried moving adding and deleting {} and I can not get it to work. I don's understand this simple process of {}. I know it is used to group together related bits of code. I open and closed...
Ok that worked. I had one too many } brackets above it.
Thanks
--- Update ---
Well,
Once I fix the bracket issue for my Bottom Half method. I tried to finish the code by adding the top...
Hello Everyone,
I am trying to print out an Hour Glass figure using CONSTANTS so that I can change sizes from 4 to 10. The problem I am having is that I am getting a error message for my method...
Hello,
I am working on the same code to produce the Hour Glass figure.
My code is a little bit different because I am using a CONSTANT to change the size of the Hour Glass. I have my CONSTANT...
Hello Everyone,
I am having a problem with my code when deal with constants.
My problem has to be solved using only two public static final constants.
The question ask to use 6 as the number of...
No I was looking at the spacing. My code had to much of a gap in it. So I what I did to fix this was to put a ("_-^-") on my System.out. print("-^-"). That fix my gap.
Hello Every one,
I need some help with my code. I need an output that looks something like this
----------------------------------------
_-^-_-^-_-^-_-^-_-^-_-^-_-^-_-^-_-^-_-^-...
Thanks Hamenopi,
Changing B to =0 worked.
Hello Everyone,
I need to write a For Loop that prints out the first 12 Fibonacci numbers:
1 1 2 3 5 8 13 21 34 55 89 144.
The problem I am having is that I can not get the first two 1...
Ok I find my mistake it was a simple matter of having the decimal place in the wrong place. I should have had 0.5 instead of .05.
Thank you everyone for your help.
Hello Everyone,
I am having a problem understanding line spacing. I need to write a program that has nested FOR LOOPS to produce the following output:
1
2
3
4
5
I can get a for...
I posted the values of each variable in the upper part of the code. What I am trying to do is write a math formula that solves for S.
s=so + vo t + 1/2 at^2
So I wrote my code in this format...
Thank KevinWorkman,
I edit my code to make it more readable. Although I could not find the ability of using highlight tags. I hope this helps.
Hello Everyone,
I am new to Java programming and I am having a small problem with a java program concerning order of operations. The problem is as follow
Write a code that declares variables...