So sorry about that...It is my first year learning Java GUI programming and we haven't touched the topic of arrays yet!
Type: Posts; User: Megz
So sorry about that...It is my first year learning Java GUI programming and we haven't touched the topic of arrays yet!
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
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...
The value of counter variables i1,i2,etc I guess
Could you be a bit more specific about it with reference to the code?
Thanks!
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...