I'm new to programming and very confused.
Code:
#include <stdio.h>
#define INCHES_IN_CUBIC_FOOT 1728
int main () {
double length_in_inches;
double width_in_inches;
double height_in_inches;
printf("Length: ");
scanf("%lf", &length_in_inches);
printf("Width: ");
scanf("%.2lf", &width_in_inches);
printf("Height: ");
scanf("%d", &height_in_inches);
float num_1 = length_in_inches * width_in_inches* height_in_inches;
printf("Volume in Cubic Inches: %.2lf", num_1);
float num_2 = (length_in_inches * width_in_inches*height_in_inches) /INCHES_IN_CUBIC_FOOT;
printf("Volume in Cubic feet:%.2lf", num_2);
return 0;
}