Hi.. Is it possible to assign values to a multi-dimensional array via a loop? The first column contains the numbers 1,2,3,4,5, the second column contains the numbers 100,200,300,400,500, and the...
Type: Posts; User: astrojunk
Hi.. Is it possible to assign values to a multi-dimensional array via a loop? The first column contains the numbers 1,2,3,4,5, the second column contains the numbers 100,200,300,400,500, and the...
Got it.. Thanks so much..
boolean found=false;
System.out.print("\n\tEnter name to search: ");
String namesearch=in.nextLine();
int i=0;
while(i<ctr && !found)
{
if(namearray[i]==namesearch)
{...