D. the application of scientific discoveries
Answer:
import java.util.*;
public class Country
{
public static void main(String args[])
{
char ch,temp;
int flag = 0;
String country;
ArrayList<String> countries = new ArrayList<String>();
Scanner sc = new Scanner(System.in);
do
{
System.out.println("enter the country you have visited:\t");
country = sc.next();
for(int i=0;i<countries.size();i++)
{
if(countries.get(i).equals(country))
{
System.out.println("you have already entered the country");
flag = 1;
break;
}
}
if(flag == 0)
{
countries.add(country);
flag = 0;
}
System.out.println("want to add another country(y/n):\t");
ch = sc.next().charAt(0);
}while(ch!='n');
Collections.sort(countries);
System.out.println("Countries you have visited:\t"+countries);
System.out.println("Total number of contries visited:"+countries.size());
}
}
Explanation:
Answer:
Simplify a complex problem means reduces its complexity and make it easy to understand. When we make the problem simplified then, the data become more clear and understandable.
There are many ways to simplify a complex problem as follows:
- Organize the information and content properly and reduces the layers of complexity. Organized the content in the form of steps so that it become easy to understand.
- Use of clear language is one of the most important part to make the content more clear and use proper formatting of the data.
- Break the information into smaller parts to it can easy to read and looks more clearly. So, the reader finds it more comfortable and efficient.
Anwer is <u>True</u>
please mark me brainliest answer
Answer:
It's simply a software that runs a computer's basic tasks, or functions, such as scheduling, running applications, and controlling peripherals.