Answer:
import java.util.Scanner;
public class HollowSquare
{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
int size;
System.out.print("Enter the size : ");
size = scan.nextInt();
if(size>=1 && size<=20)
{
for(int i=0; i<size; i++)
{
for(int j=0; j<size; j++)
{
if(i==0 || j==0 || i==size-1 || j==size-1)
System.out.print("*");
else
System.out.print(" ");
}
System.out.println();
}
}
else
System.out.println("Invalid size.");
}
}
there has to be more than one answer, then click mark as the brainiest
Answer:Computer is a machine that can be program to manipulate the symbols.
Explanation:There are five different categories of a computer.
(1)super computer (2) mainframe (3) personal computer (4) workstation
(5) minicomputer
(1)super computer: super computer is the term fastest computer available current time.super computers are very expensive and specialized computer.
(2)mainframe : mainframe computer is perform to the execute the program the currently.
(3) personal computer: The most popular use for personal computer playing games and surfing internet.
(4)workstation: This type of computer used for the engineer applications desktop publishing , software development.
(5)minicomputer: The general a minicomputer is multiprocessing system it is a midsize computer.
C because it’s not the other 3