Answer:
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(true) {
System.out.print("Enter an integer (0 to exit): ");
int num = scan.nextInt();
if (num == 0) break;
if (num%3 == 0 && num%5 == 0) {
System.out.printf("%d is divisable by both 3 and 5.\n", num);
}
else if (num%3 == 0 && num%5 != 0) {
System.out.printf("%d is divisable by 3 but not by 5.\n", num);
}
else if (num%3 != 0 && num%5 == 0) {
System.out.printf("%d is divisable by 5 but not by 3.\n", num);
} else {
System.out.printf("%d is not divisable by 3 or 5.\n", num);
}
}
scan.close();
}
}
Answer:
The poet praises the common man.
Explanation:
True, sites such as kickstarter and just giving are fantastic examples of such.
Answer:
Field. In Access, columns are referred to as fields. When you organize your data by entering it into different fields, you are organizing it by type.
Answer:
Exponential.
Explanation:
The router is a network device that route packets to its destination through a path on its routing table. The routing table contains the path to the next hop count of the destination network. A path or route could be learnt statically or dynamically.
Static routes are learnt based on direct connection to other router or a hard coded path configuration. A dynamic route is learnt through a routing protocol. RIP, EIGRP, OSPF, IS-IS are examples of routing protocols.
The OSPF or open shortest path first is a protocol that uses algorithm, load cost and other metrics to determine paths for packets. The exponential algorithm is used by the OSPF to determine the shortest and noise-free path to a destination.