//Predict output
class arrayoutput
{
public static void main()
{
int a[]={7,3,5,2,0,3,7,2,0,1}, i,j,c=0;
for(i=0;i<a.length;i++)
{
for(j=0;j<i;j++)
{
if(a[i]==a[j])
c++;
}
if(c==0)
System.out.print(a[i]);
c=0;
}
}
}
Answers
Answered by
4
Answer:If the condition will be stated true
The output of this Java program will be the length of the a.
Explanation:
hope it helped you
please mark me as brainliest and thanks if it helped you
please follow me
Similar questions
Physics,
5 months ago
English,
5 months ago
Social Sciences,
5 months ago
World Languages,
10 months ago
Chemistry,
10 months ago
Math,
1 year ago
Physics,
1 year ago