Answer:
import java.util.*;
class Main
{
public static void main(String[] args)
{
System.out.println("Enter integers and 0 to exit");
Scanner a1=new Scanner(System.in);
System.out.println(add(a1));
}
public static int add(Scanner a1)
{
int total = a1.nextInt();
if (a1.hasNextInt())
{
total =total +add(a1);
}
return total;
}
}
Explanation:
The only thing that needs explanation here is hasnextInt. This returns true if entered number is integer and false if entered is not an integer. And rest is as shown in the program.
Answer:
The correct answer to the following question will be Option B (Interpersonal feedback).
Explanation:
- Interpersonal feedback seems to be a mechanism under which someone talks. Individuals deliver a message regarding their sensations and expectations of actions by another.
- It encourages employees to take obligation for a group's results and to change the look they correspond to many other people in.
Therefore, Interpersonal feedback is the right answer.
The printer management components one would use to view the port a printer uses are as follows;
- Printer properties
- Printer server properties
<h3>What is Printer management components?</h3>
The print management component provides a single interface where a user can open the print management utility and view all printers and print servers in the enterprise.
The port of a printer is the connector usually on the computer that allow communication with the printer.
Therefore, the printer management components one would use to view the port a printer uses are as follows;
- Printer properties
- Printer server properties
learn more on printers port here: brainly.com/question/17157651
#SPJ12
Answer:
1940 – 1956: First Generation
1956 – 1963: Second Generation
1964 – 1971: Third Generation
1972 – 2010: Fourth Generation
2010- : (Present )Fifth Generation
Explanation:
- First Generation Computers (1940-1956):In this Generation the main component of computers were Vacuum Tubes.
- Second Generation Computers (1956-1963):In this generation the main component of computers were Transistors.
- Third Generation Computers (1964-1971):In this generation the main component of computers were Integrated Circuits.
- Fourth Generation Computers (1972-2010):In this generation the main component of computers were Microprocessor
- Fifth Generation (2010-Present):In this generation the main component of computers is Artificial Intelligence