Answer:
both
Explanation:
most computers need a human to operate but there are ai can run without human intervention
Well 1234 for the first one
Answer:An object
Explanation: An objects play an important role as the real world component/entity which display any element which are sourced through their behaviors and different states. Object are the entities that are required in the program for the making the program easier and simpler to understand .
Example- computer can be considered as the object which is related with the real world.
Answer:
import java.util.Scanner;
public class LargestSmallest {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter 10 integers: ");
int num = in.nextInt();
int i = 1;
int min = num, max = num;
while (i < 10) {
num = in.nextInt();
if (num > max) max = num;
if (num < min) min = num;
i++;
}
System.out.println("Largest number: " + max);
System.out.println("Smallest number: " + min);
}
}
Explanation:
A Java application that inputs a series of 10 integers and determines and prints the largest and smallest integer is written above.