Answer:
I will code in JAVA.
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
float x;
float y;
float result;
Scanner input = new Scanner(System.in);
while(true){ <em>//this is an infinite loop</em>
x = input.nextFloat(); <em>//wait the input for x</em>
y = input.nextFloat(); <em>//wait the input for y</em>
if(y == 0) {
continue; <em>//next iteration without print.</em>
} else{
result = x/y;
System.out.print(result); <em>//print the result.</em>
}
}
}
}
Explanation:
To get the numbers, you need to import Scanner class, and use the method nextFloat() to admit floats and integers.
If y is 0 then, executes the continue statement, if not prints the division between x and y.
Answer:
c. StringBuilder
Explanation:
An alternative to the String class would be the StringBuilder Class. This class uses Strings as objects and allows you to mix and match different strings as well as adding, removing, implementing, and modifying strings themselves as though they were similar to an array. Unlike the string class StringBuilder allows you to modify and work with a combination of strings in the same piece of data as opposed to having various objects and copying pieces which would take up more memory.
<span>The answer is IP address. If you experience a denial-of-service attack, you can use firewall logs to determine the IP address from which the attack originated.</span>
Answer:
b. channels
Explanation:
When it comes the distribution of a product we always use <em>channels of distribution </em>in Business Terminology. Therefore, <em>b. channels</em> is the correct option.
Answer:
Dave is a regular shopper at Colric Inc., an online company that sells T-shirts. He placed an order for five T-shirts, however when the order arrived, Dave discovered the T-shirts were defective. He returned the order and requested replacements from Colric. This scenario shows an exception to which aspect of a supply chain?