From 97a693d996c79fb2a008b19750d8bb45512e01a2 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 6 Feb 2017 11:26:44 -0500 Subject: Inital commit --- matmult.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 matmult.c (limited to 'matmult.c') diff --git a/matmult.c b/matmult.c new file mode 100644 index 0000000..d1b2f2c --- /dev/null +++ b/matmult.c @@ -0,0 +1,80 @@ +/* File: matmult.c + Multiplication of two matricies*/ +#include + +#define M 10 +#define N 20 +#define P 30 + +int main() +{ + double a[M][N]; + double b[N][P]; + double c[M][P]; + int i; + int j; + int k; + + int pop1,pop2; + for(pop1=0;pop1