Here is a version of your program that compiles and runs correctly.
Changes where:
Line 4 and 5 changed float to int.
If you don't want to use integers you should format the numbers, in printf using, %8.0f or something like that.
Line 7 and 8 changed "/n" to "\n"
Line 10 and 12 changed "base + 2" to "base +=2"
Line 18 changed "%f*%f\t%f\t%f\t%f\n" to "%d*%d\t\t%d\t\t%d\t\t%d\n"
Now it's time to get rid of the logic errors.
You have it done, almost
CODE
#include <stdio.h>
int main() // entering the main
{
int height, base;
int size, cross, moment, section;
printf("Lumber Size\tCross-section\tMoment of\tSection\n"); //listing
printf("Base*Height\tArea \tInertia \tModulus\n"); //titles
for (base = 2; base <= 12; base += 2)
{
for (height = 2; height <= 12; height += 2)
{
cross = base * height; // calculating
moment = (base * height * height * height) / 12;
section = (base * height * height)/6;
}
printf("%d*%d\t\t%d\t\t%d\t\t%d\n", base, height, cross, moment, section);
}
}