| | |
Question about tables
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2009
Posts: 1
Reputation:
Solved Threads: 0
I have an int table, consisting of 7 ints, and is wondering if there is any way of avoiding the same int to be entered twice. And if entering the same int twice, the user of the program would have to re-enter the int again.
this is what i've got so far, but it doesn't seem to work at all..
this is what i've got so far, but it doesn't seem to work at all..
Java Syntax (Toggle Plain Text)
if(tab1[i] == tab1[i]) System.out.println(tab1[i]+" is already used"); //reduses index i--; kb.nextLine();
![]() |
Similar Threads
- Retrieving data from TWO tables with conditions (ASP.NET)
- A question about tables.... (Python)
- Depth Travesal (MS SQL)
- need help with table design (Database Design)
- fetch specific records in dataset (ASP.NET)
- Problem (MS SQL)
- access report (Visual Basic 4 / 5 / 6)
- Basic SQL question! (MS SQL)
Other Threads in the Java Forum
- Previous Thread: Error on repairing program
- Next Thread: Reasigning variables
| Thread Tools | Search this Thread |
Tag cloud for Java
android api apple applet application arc arguments array arrays automation binary bluetooth c++ chat class classes client code codesnippet component csv database doctype draw ebook eclipse error event exception fractal freeze game givemetehcodez graphics gui html ide image input integer intellij iphone j2me java java.xls javaprojects jmf jni jpanel julia linux list loop loops mac map method methods mobile netbeans newbie number online oracle page parameter plazmic print problem program programming project recursion reporting rotatetext scanner screen sell server set size sms socket sort sourcelabs sql string superclass swing system template test testautomation threads time title tree tutorial-sample windows working





