Answer:
The code will be:
#include <stdio.h>
#include <stdlib.h>
main () {
double weight, shippingCharge, rate, segments;
int distance;
printf("Enter the weight: \n");
scanf("%lf", &weight);
printf("Enter the distance: \n");
scanf("%i", &distance);
if (weight <= 10) {
printf("Rate is $3.00 \n");
rate = 3;
} else {
printf("Rate is $5.00 \n");
rate = 5;
}
if (distance % 500 == 0) {
segments = distance / 500;
} else {
segments = distance / 500 + 1;
}
shippingCharge = rate * segments;
if (distance >1000) {
shippingCharge = shippingCharge + 10;
}
printf("Your shipping charge is $%lf\n", shippingCharge);
system ("pause");
}
Answer:
true
Explanation:
Equipment that are "locked-out/tagged-out" <em>prevent the electrician from being electrocuted</em> or attaining a serious injury in relation to it. Locking out an equipment prevents it from releasing its energy because such energy can be <em>hazardous</em> to the electrician. There are instances when the equipment accidentally starts up, thus, it is essential that the equipment's source of energy is<em> isolated.</em>