yup, that's right. im sure some of u out there will laugh and not open this thread. but for those who are willing to take the time. thanx.
im setting up a two dimensional array and trying to place them into a chart
Inventory Report
College
1 2 3 4 5 6 7 Size Total
Small
Medium
sizes
Large
XLarge
College Total
Total Inventory
this is the chart i have set up but i cant figure out how to input my arrays numbers into the chart
#include <stdio.h>
double Calc_total_shirts(void);
#define COL_NUM 8
#define SIZE 5
#define row_num 10
#define col_num 10
main()
{
double row;
int //sizes,
college_num,
size_total;
int array[SIZE][COL_NUM] =
{ {5, 5, 10, 15, 20, 19, 18, size_total},//smalls
{10, 15, 20, 25, 26, 27, 29, size_total},//mediums
{12, 14, 16, 18, 20, 22, 24, size_total},//larges
{3, 5, 7, 9, 11, 13, 15, size_total} };//x-larges, AND end of array
printf("\n\t\t\t Inventory Report");
printf("\n\n\t\t\t College");
printf("\n\n\t\t 1 2 3 4 5 6 7 Size Total");
for(row = 10; row <= row_num; ++row)
{
printf("\n\n\n\tSmall %d", array[0][0]);
for(college_num = 0; college_num < COL_NUM; ++college_num)
scanf("%d", &array[SIZE][COL_NUM]);
printf("\n\n\n\tMedium");
printf("\n\nSize");
printf("\n\n\tLarge");
printf("\n\n\n\tXLarge");
printf("\n\n\nCollege Total");
printf("\n\n\nTotal Quantity On Hand");
plz, no criticism. i know that im a noob and im just trying to learn thanx