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:
valorant valorant valorant is the best
Answer:
yes for sure
Explanation:
iran oy has 3000 ballistic missiles but america has thousands of nukes. we can easily outnumber their forces as well. this will be a easy victory for us but will result in massive casualties on both sides
Answer:
2750
Explanation:
The number of windings and the voltage are proportional.
__
Let n represent the number of windings to produce 110 Vac. Then the proportion is ...
n/110 = 300,000/12,000
n = 110(300/12) = 2750 . . . . multiply by 110
2750 windings would be needed to produce 110 Vac at the output.
Answer:
A key element is powering economies with clean energy, replacing polluting coal - and gas and oil-fired power stations - with renewable energy sources, such as wind or solar farms. This would dramatically reduce carbon emissions. Plus, renewable energy is now not only cleaner, but often cheaper than fossil fuels
Explanation:
here is your answer if you like my answer please follow