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
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
Math,
7 months ago
Math,
7 months ago
Chemistry,
7 months ago
Environmental Sciences,
1 year ago
Biology,
1 year ago