Search:

Type: Posts; User: Samaras

Search: Search took 0.10 seconds.

  1. Re: I need to create a certain SHAPE with FOR LOOP.

    Ok,you see what has to be changed.And my list and most simple idea is this



    public static void main(String[] args) {
    for (int i = 0; i < 4; i++) {
    ...
  2. Re: I need to create a certain SHAPE with FOR LOOP.

    Another method based to kevin's answer is this:


    public static void main(String[] args) {
    for (int i = 0; i < 8; i++) {
    if (i % 2 == 0)
    System.out.print("...
  3. Re: I need to create a certain SHAPE with FOR LOOP.

    Actually Kevin the for loop should have the statement like this i<8.So the answer is(basically what Kevin said,only a number changed)


    public static void main(String[] args) {
    for (int i...
Results 1 to 3 of 3