Answer:
import java.util.Scanner;
public class num2 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int total = 0;
for(int i=0; i<5; i++){
System.out.println("Enter next Int: ");
total = total+in.nextInt();
}
System.out.println(total);
}
}
Explanation:
In the code above written in Java programming language, the for loop statement for(int i=0; i<5; i++) ensures that the loop goes from 0-4 a total of five times.
At each iteration it requests a user to enter an int. The number entered is stored in the variable total which is initially assigned 0.
When the loop finishes execution, total is printed out
Answer: forwarding: move packets from router's input to appropriate router output
routing: determine route taken by packets from source to destination
Explanation:
The network layer refers to where connections take place in the internet communication process by sending packets of data between different networks.
The distinction between the forwarding function and the routing function performed in the network layer is that the forwarding function move packets from the input of the router to the appropriate router output while the routing function:m helps in knowing the routee taken by packets from the source to destination.
Hey!
------------------------------------------
<h3>Answers:</h3>
Operating System
Web Browser
Word Processor
Device Driver
------------------------------------------
<h3>Explanation:</h3>
Software is a set of data that tells the computer what to do. Each of the answer above tell the computer something specific to do.
The operating system are basic functions that make the computer run smoothly.
The web browser is telling the computer you want to look something up like in internet explorer, firefox, and chrome.
The word processor is a piece of software that tells the computer that you want to format a piece of text like in Microsoft word.
The device driver is a piece of software that controls a connected device like a phone or another computer.
------------------------------------------
Hope This Helped! Good Luck!
The answer is a. utility bills