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.
Answer:
(a) To record the repair to the transmission on one of its delivery vans, the resulting journal entry is:
(Dr) Repairs and Maintenance Expense, $2,300
(Cr) Cash, $2,300
The repair of the transmission is an expenditure that returns the vehicle to its previous operating condition. The repair results in an increase to Repairs and Maintenance Expense (an increase to an expense is a debit) and a decrease to Cash (a decrease to an asset is a credit).
(b) To record the installation of a GPS system in one of its delivery vans, the resulting journal entry is:
(Dr) Delivery Van, $450
(Cr) Cash, $450
The installation of the GPS system is a permanent addition to the van that has increased its capability and should be capitalized. The addition results in an increase to Delivery Van (an increase to an asset is a debit) and a decrease to Cash (a decrease to an asset is a credit).
Rural or nation-state locations are the ones in mare far off + much less densely populated via evaluation Very faraway Rural areas include three percent of the populace, however cowl nearly 1/2 of the land place.
A rural area is an open swath of land that has few homes or different buildings, and now not very many people. A rural region's populace density may be very low. Many humans live in a town or urban area. Their homes and companies are placed very close to one another.
In keeping with the modern delineation, released in 2012 and primarily based on the 2010 decennial census, rural areas include open USA and settlements with fewer than 2,500 residents. urban regions comprise larger places and densely settled areas around them. urban regions do not necessarily observe municipal limitations.
A rural area is an open swath of land that has few homes or different buildings, and not very many human beings. A rural area's populace density is very low. Many people stay in a metropolis or urban vicinity. Their houses and corporations are placed very near each other.
Learn more about rural areas here: brainly.com/question/16927480
#SPJ9
<span>Constructive criticism is a communication technique intended to identify and find ... It also invites her to find possible solutions to whatever is going wrong.</span>
Answer:
<u>selling and administrative cost formula:</u>
Y = $166,200 + $6.80X
Explanation:
First we solve for the units sold during hte period:
sales: 960,000
unit selling price: 60
units sold: 960,000 / 60 = 16,000
Then we calcualte the variable cost of both, selling and administrative:
selling variable 8% of selling 8% of $60 = 4.8
administrative $ 2
total variable: 6.8
Now we solve for fixed cost:
275,000 = 6.8 (16,000) + fixed
fixed = 275,000 - 108,800 = 166,200