Answer:
public static char getRandomColor(Random random){
int number = random.nextInt(6);
if(number == 0){
return 'R';
} else if (number == 1){
return 'G';
} else if (number == 2){
return 'B';
} else if (number == 3){
return 'Y';
} else if (number == 4){
return '*';
} else {
return '.';
}
}
Explanation:
The function take random object as parameter. First, the a generated integer between 0 to 5 is assigned to number.
Next, a block of if-else statement is use to check the generated random number and knows which character to return. If the number is 0, 'R' is returns. If the number is 1, 'G' is returns. If the number is 2, 'B' is returns. If the number is 3, ' Y' is returns. If the number is 4, '*' is returns. If the number is 5, '.' is returns.
Given that <span>Pierre
is a foreman in a plant. he has 25 line workers who report to him on
the night shift.
From what you have read about organization charts, what you know for sure is that Pierre has a wide span of control.
Span of control refers to the </span><span>number of subordinates that a manager or supervisor can directly control.
</span>
She used self-disclosure by saying she was raised in south Korea in Seoul and at times she would like to move back there and also that Koreans like to be entertained and to entertain. In fact, I know that Koreans have been compared to the Irish that they like to have fun and enjoy their beer and outings.
Answer: $3,826
Explanation:
Discount received on terms 2/10 = (Purchase value – Cost of merchandise returned) x Discount Rate
= $4,000 - $300 x 2%
= $3,700 x 2%
= $74
if the company paid the invoice within the discount period, Then the total cost of this merchandise
Total cost of merchandise = Value of merchandise purchased– Cost of merchandise returned + Transportation Costs - Amount of discount received
= $4,000 - $300 + $200 - $74
= $3,826
<span>Assuming that everything Anthony sells is profit and subject to tax; Anthony will need to sell $60,000. Since he will lose $16,000 (30%) to tax, he will be at his magic number of $42,000.</span>