Search:

Type: Posts; User: Shyamz1

Search: Search took 0.74 seconds.

  1. Thread: For Loops

    by Shyamz1
    Replies
    3
    Views
    434

    For Loops

    Hi guys. Hope you are well. I'm particularly stuck on understanding for loops properly. I have this program which computes numbers to whatever power you want it to. There are two command line...
  2. Thread: Cipher Program

    by Shyamz1
    Replies
    2
    Views
    749

    Cipher Program

    Hi guys i'm really a beginner at Java, and I don't have a clue. I'm trying to do the following program. Can someone help me and start me off and lead me because I'm really stuck :| .

    Lab Exercise...
  3. Replies
    2
    Views
    2,820

    Snake Game In Java

    Hello there how are you all. I am trying to make a Snake Game in Java and have managed to set up the cells required for the snake to move around in.

    What i am trying to do now is place food...
  4. Thread: Hello Family

    by Shyamz1
    Replies
    1
    Views
    480

    Hello Family

    Hey guys how are you all. I've created a program that displays my family's names in GUI. I decided now that i want to take it to the next level and have 2 command line arguments, the row and the...
  5. Thread: helo

    by Shyamz1
    Replies
    1
    Views
    397

    helo

    Hi Guys, how are you all. I seem to be having a problem getting my program to highlight the date which is typed as the third command line argument. There are three command line arguments; 1st one is...
  6. Replies
    2
    Views
    492

    Removing the middle cell

    Hi guys, i have created a program that outputs and prints a rectangle when given the width and height as command line arguments. I've got it to add 1 row and column if the number of rows or columns...
  7. Thread: Counting cells

    by Shyamz1
    Replies
    1
    Views
    1,318

    Counting cells

    Hi guys, I have a program that prints a rectangle when you type the width and height as command line arguments. I have got it to print out the rectangle but What i am trying to do is make it count...
  8. Thread: If Statement

    by Shyamz1
    Replies
    3
    Views
    582

    If Statement

    Hi guys. Ive created a program that computes powers when typed in as command line arguments. I have the following code, but i cannot understand why the IF statement doesnt make the result 0 is a...
  9. Replies
    5
    Views
    2,319

    Re: Program to compute powers

    I know how to get powers, i wrote pseudocode and designed it, but im not sure what the case is for like cubics and powers more than 2.
  10. Replies
    5
    Views
    2,319

    Program to compute powers

    Hi there folks.

    I'm trying to create a program that takes 2 numbers from command line arguments and use the second value as a power so for e.g. java Power 10 2 should give 100. But i want to do...
  11. Thread: A Java Error

    by Shyamz1
    Replies
    9
    Views
    560

    Re: A Java Error

    No you dont understand what i'm saying. The thing is i have to log all my errors and stuff, but i dont know what to write for this specific error. Understand? So what would i write about this error...
  12. Thread: A Java Error

    by Shyamz1
    Replies
    9
    Views
    560

    Re: A Java Error

    Hi again, What would this error mean then.

    Fortune.java:3: invalid method declaration; return type required
    public static void main[String () args ]
    ...
  13. Thread: A Java Error

    by Shyamz1
    Replies
    9
    Views
    560

    Re: A Java Error

    ARe you this is correct... Thanks by the way.
  14. Thread: A Java Error

    by Shyamz1
    Replies
    9
    Views
    560

    Re: A Java Error

    Yeah i know what the problem is, but i have to log all my mistakes in a book, and dont have a clue what to write. I cant just write missed out a square bracket etc. I want something more so i can say...
  15. Thread: A Java Error

    by Shyamz1
    Replies
    9
    Views
    560

    A Java Error

    Hi guys, i have the following error:

    Fortune.java:3: '(' expected
    public static void main [String () args ]
    ^

    I cant seem to put this in words, as...
Results 1 to 15 of 15