So basically I've been given an assignment, which is the following:
[QUOTE]
Complete Option 1 or Option 2 below. Either option must include at least three of each of the following:
drawSquare
...
Type: Posts; User: HeroFlame
So basically I've been given an assignment, which is the following:
[QUOTE]
Complete Option 1 or Option 2 below. Either option must include at least three of each of the following:
drawSquare
...
4 throughout.
Stuck on this, need to create a method that prints n x n box:
****
* *
* *
****
a = 1;
int b = 1;
for (int i = 1; i <= n; i++) //come back to this later
{
System.out.print(a + " ");
I'd post my code, but unfortunately I'm at school and can't access the necessary files for BlueJ on the school server. Thanks anyways.
That really doesn't help me. I realize what I'm supposed to do, but I can't figure out how to do it.
I'm aware of the sequence for some, not all.
I'd post the code I have if I was at school at the moment.
Sequences for n = 5:
1 2 6 12 20
1 2 6 24 120
1 4 9 16 25
No one can help me?? PLEASE!
I have to "write a Java expression to compute 10 base 2".
I am totally lost, and I'm also new to Java so please keep the hate to a minimum /:
Thanks!
create a method, distance, which takes, as parameters, the coordinates of two points ((x1, y1), (x2, y2)) as real numbers, and returns the distance between these points, using the distance forumula....
Thanks so much!!
Yes, they now return true, but when I input 3 numbers that aren't "teen", like (1, 4, 3), it still comes out as true, when it should be false as none of those numbers are "teen".
Error:...
I am trying to create a program that does the following:
"We'll say that a number is "teen" if it is in the range 13..19 inclusive. Given 3 int values, return true if 1 or more is teen.
My code:...