Search:

Type: Posts; User: heythisgreg

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,510

    Re: Help with three lines

    oh i dont think it does that im netbeans, i have a mac
  2. Replies
    9
    Views
    1,510

    Re: Help with three lines

    oh, i dont know if this is better i added a screen shot

    I fixed the error in the 'If' statement its only lines 22,23,25 that i dont understand im not sure what to put infront of the GtoJ and JtoG...
  3. Replies
    9
    Views
    1,510

    Re: Help with three lines

    oh sorry i did it after i posted it:


    import java.util.Scanner;
    public class GtoJ {
    public static void main(String[] args) {
    int mm, dd,yy;
    int [] mod=...
  4. Replies
    9
    Views
    1,510

    Help with three lines

    hi I'm having problems with this code:

    the line:
    if (yy % 400 == 0|| (yy% 100 !=0 && % yy% 4==0))
    -Says illegal start of expression
    else {System.out.println ("Input 3 digit Julian:");
    -says...
  5. Replies
    3
    Views
    854

    Re: Problem with code.

    yes i know but im unsure for what i have to do for the if statement

    do i insert the numbers for DD and YY, i feel that the way i wrote the if statement must have a error
  6. Replies
    3
    Views
    854

    Problem with code.

    Hi i have a problem with this code and im not sure what i need to add to fix it:


    package gtoj;
    public class GtoJ {
    public static void main(String[] args){
    int YY;
    int DD;...
  7. Replies
    4
    Views
    1,570

    Re: Gregorian to Julian and vise versa

    run:
    Error: Main method not found in class calendar.Calendar, please define the main method as:
    public static void main(String[] args)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)
  8. Replies
    4
    Views
    1,570

    Gregorian to Julian and vise versa

    Hello i need help is it possible to make a program where you choose gregorian and the output is julian and vise versa in about 4 lines?
    please i need help i dont know how to start it

    I have this...
  9. Replies
    5
    Views
    1,167

    Re: How To Add a Method/Demo?

    because its for class lol

    there is away that you can add methods or something like that and it shows you the results (demo) for that program. I dont no if i explain it, because i dont understand...
  10. Replies
    5
    Views
    1,167

    Re: How To Add a Method/Demo?

    For example I have this where they have a program for a Dog
    and then there is another program where it shows the information and it plugs the information into the program.

    1639

    1638

    My code...
  11. Replies
    5
    Views
    1,167

    How To Add a Method/Demo?

    Hello, so i have a program here and i wanted to know how do i make a demo to test the class

    I do not know if i need to edit the program i have so it is able to understand the demo.

    Also i...
  12. Re: Please can you help with my program? How to make it

    like this?





    <
    package q21;
    import java.util.Scanner;
    public class Q21 {
  13. Re: Please can you help with my program? How to make it

    okay so i got the problem, and it does not show any errors for both of the questions, however, when i press run it says build successful and nothing comes out. I am not sure what to do, there must be...
  14. Re: Please can you help with my program? How to make it

    okay thanks i got it, and for the next one? i dont know where i can to get help on it.
  15. Re: Please can you help with my program? How to make it

    for e1577


    For all the errors i get the same problem:
    class, interface, enum expected
  16. Re: Please can you help with my program? How to make it

    <package q21;
    import java.util.Scanner;

    public class Q21 {
    Scanner kB = new Scanner(System.in);
    public static void main(String[] args) {
    }
    }
    int s = 0;
    int t = 1;
  17. Re: Please can you help with my program? How to make it

    Hello, this is what i have for the firs problem:
    i get class, interface, or enum expected: all ones that have a * have a problem, i know it has to do with the "int" but i dont know how to fix it.
    ...
  18. Please can you help with my program? How to make it

    hi please i do not understand how to make a program for the following questions, im a beginner,
    For the first one i put it in but it does not work:
    I use netbeans to write the program
    The...
Results 1 to 18 of 18