1) Input devices are any devices that input information to the computer - Examples include your keyboard, mouse, microphone, ect.
2) Output devices are any devices that output information from the computer. - Examples include your monitor, printer, headset/speakers, ect.
3) Processing devices are devices that take the information and process it. The most obvious example of this is the Central Processing Unit (CPU) on your computer.
The third option is correct.
Answer:
research the question and go to setting and press advanced search and it will give answer
Answer:
class Main {
static void printPowers(int howMany, int nrRows) {
for(int n=1; n<=nrRows; n++) {
for(int power = 1; power<=howMany; power++) {
System.out.printf("%d ", (int) Math.pow(n, power));
}
System.out.println();
}
}
public static void main(String[] args) {
printPowers(3, 5);
}
}
class Main {
static void printPowers(int howMany, int nrRows) {
int n = 1;
do {
int power = 1;
do {
System.out.printf("%d ", (int) Math.pow(n, power));
power++;
} while (power <= howMany);
System.out.println();
n++;
} while (n <= nrRows);
}
public static void main(String[] args) {
printPowers(3, 5);
}
}
Explanation:
The for loop gives the cleanest, shortest code.