Search:

Type: Posts; User: Megz

Search: Search took 0.12 seconds.

  1. Re: Help Needed In the Code: Occurrence of Digits in a Number

    So sorry about that...It is my first year learning Java GUI programming and we haven't touched the topic of arrays yet!
  2. Re: Help Needed In the Code: Occurrence of Digits in a Number

    I guess we could check if the value of any of the counter variables is zero and then not rpint it...the part that is ci=onfusing me is how to do it without making the code inefficient
  3. Re: Help Needed In the Code: Occurrence of Digits in a Number

    variables i1,i2,etc. are the counter variables which check how many times the loop has run so as to get the number of times the digit get repeated.
    n1-n6 represent the individual digits stored...
  4. Re: Help Needed In the Code: Occurrence of Digits in a Number

    The value of counter variables i1,i2,etc I guess
  5. Re: Help Needed In the Code: Occurrence of Digits in a Number

    Could you be a bit more specific about it with reference to the code?
    Thanks!
  6. Help Needed In the Code: Occurrence of Digits in a Number

    Hey!
    So I got the following assignment- Make a program which takes input from the user (6-digit number) and check how many times each digit gets repeated in the number. Java GUI was used (Netbeans...
Results 1 to 6 of 7