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:
Conic Sections
a conic section is a curve which is obtained when a surface performs an intersection with a plane. The types of conic sections include hyperbola, parabola and ellipse. A circle can also be considered as a conic section.
Conic Solids on the other hand are the set of points on any segment between a region and a point which is not present in the plane of the base. They are solids with one base.
Answer:
a)-True
Hope this helps even tho theres no school right now