1st Mini Project
1st Mini Project
int count = 0;
for(int i=0;i<array.length;i++)
{
if(ch == array[i])
{
count = 1;
for(int j=i+1;j<array.length;j++)
{
if(ch == array[j])
{
count += 1;
array[j] = '0';
}
}
}
else
continue;
}
return count;
2:===============================================================
3:=========================================================
}
int userKey = input.nextInt();