#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <math.h>

#define NROWSa  5
#define NCOLSa  4
#define NROWSb  4
#define NCOLSb  6

int rand_int(int a, int b);


int main(void)
{
	//Initialize an integer array called 'a' with NROWSa by NCOLSa



	//Initialize an integer array called 'b' with NROWSb by NCOLSb



	//Initialize an integer array called 'c' (c=axb) with appropriate rows and cols


	
	//Set the values of 'a' using rand_int -- with all values between 0 & 10
	//Use i for rows and j for columns


	//Set the values of 'b' using rand_int -- with all values between 0 & 10



	//Write loops to print out the matrices a and b (place values of each row on their own line with tabs between)




	//Write a loop to multiply the first row of a by the first col of b (in 5 easy steps)

	//1st, set-up a place to put the result called sum 

	//2nd, make a place to put the row of 'a' you need to deal with

	//3rd, make a place to put the col of 'b' you need to deal with

	//4th, write the loop and print out the value in sum



	//Modify the loop above to do the procedure for each row of a and col of b - place results in appropriate indexed values of c


	//print out the values of c[] -- place values of each row on their own line with tabs between
	


return 0;
}


int rand_int(int a, int b)
{
	return rand()%(b-a+1) + a;
}

