Search:

Type: Posts; User: willc86

Search: Search took 0.29 seconds.

  1. Replies
    10
    Views
    300

    Re: question about arrays; something simple

    well, when I printed it, it gave me the right answer I was looking for lol. It found the largest number I was looking for.
    Do you guys know a good website with actual problems to practice? Like...
  2. Replies
    10
    Views
    300

    Re: question about arrays; something simple

    yeah thats what I meant lol. I just wrote it quick without more details, but thats what I meant; that C[0] is ini. maxC to whatever the first element is in the array such as

    int []A = {1,2,3,4,5};...
  3. Replies
    10
    Views
    300

    Re: question about arrays; something simple

    so, int maxC = C[0] is initializing the first element in the array?
  4. Replies
    10
    Views
    300

    Re: question about arrays; something simple

    ok I'll read that. if I have any questions ill let you know.
  5. Replies
    10
    Views
    300

    question about arrays; something simple

    I am just curious what does int maxC = C[0]; mean. Why do I put C[0]; instead of int maxC = 0;

    heres the code

    public static void main...........

    int []C = {2,4,543,2};
    int maxC =...
  6. someone please be kind enough demonstrate a code like this......

    This is the work

    - From the main method call a method named sumOfDigits(), without passing any parameters
    - Create a method named sumOfDigits()
    - In the sumOfDigits() method declare the...
  7. Re: what do they mean "call a method named myInfo"

    Ive been replying to this post thread all along. I am not writing anywhere else, so dont know what you are talking about
  8. Re: what do they mean "call a method named myInfo"

    wait huh?I am sorry =( I don't get it. So, I put System.out.myName ??
  9. what do they mean "call a method named myInfo"

    HI i am a bit new to java and I am not sure about methods. I was hoping if someone can give me an example

    this is what its asking


    Variable Name Variable Contents
    ...
  10. Replies
    3
    Views
    536

    Re: java assignment; please help

    Anyone? Or a clue at least lol
  11. Replies
    3
    Views
    536

    java assignment; please help

    Hi I am trying to do the first step

    I am not sure exactly how to start a method on something that accepts and accumulates daily contributions.



    this is part of the assignment -
  12. Re: am I going to use if / loops in this java work?

    urgh cant figure it out for the first step.

    what or what do i use for the method to get total contribution this is what i have what clue or maybe an example?

    public class SchoolContribution
    {...
  13. Re: am I going to use if / loops in this java work?

    thank you =) let me give it a shot
  14. Re: am I going to use if / loops in this java work?

    if it helps this is the link for class note java 1

    COP2250 - Java Programming
  15. am I going to use if / loops in this java work?

    hi i have an assignment but I am way ahead in class, so i usually jump ahead but I am not sure what I going to be doing here

    this is the assignment. I tried looking in my notes, but cant manage to...
Results 1 to 15 of 15