Computer Science, asked by jishiga, 1 year ago

import java.util.*;
class coun
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter the array size");
int n=sc.nextInt();
int l,cnt=0;
System.out.println("Enter the country names");
String x[]=new String[n];
for(l=0;l0)
System.out.println("Not present");
}
}


plz help me correct this program......

Answers

Answered by srarjun3pd4ob4
0

Import java.util.*;

class coun

{

public static void main(String args[])

{

Scanner sc=new Scanner(System.in);

System.out.println("Enter the array size");

int n=sc.nextInt();

int l,cnt=0;

System.out.println("Enter the country names");

String x[]=new String[n];

for(l=0;l<count;i++)

System.out.println("Not present");

}

}

Similar questions