Answer:
if(revenue.cents - expenses.cents < 0){
profit.dollars = revenue.dollars - expenses.dollars - 1;
profit.cents = 1 - revenue.cents - expenses.cents;
}
else{
profit.dollars = revenue.dollars - expenses.dollars;
profit.cents = revenue.cents - expenses.cents;
}
Explanation:
We know that profit is given as: revenue - expenses from the question.
From the given expression above;
if(revenue.cents - expenses.cents < 0)
then profit.dollar will be revenue.dollars - expenses.dollars - 1; the 1 is to be carry over to the cent part. And the profit.cent will be 1 - revenue.cents - expenses.cents;
else the profit.dollars and the profit.cent is computed directly without needing to carry over:
profit.dollars = revenue.dollars - expenses.dollars;
profit.cents = revenue.cents - expenses.cents;
The correct answer is “C. The credit card number that you use to make an online purchase”
*Metatarsal foot protection
*Rubber boots with steel toes
*Non-prescription eye protection
*Prescription eyewear inserts/lenses for
full face respirators
*Goggles and face shields
*Fire fighting PPE (helmet, gloves, boots,
proximity suits, full gear)
*Hard hats
*Hearing protection
*Welding PPE