Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

matjul / iax0583

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • iax0583
  • matrices.c
Find file
BlameHistoryPermalink
  • matjul's avatar
    Upload New File · 8358a328
    matjul committed 6 years ago
    8358a328
matrices.c 262 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include "stdio.h"
int main () {
	
	int array[3][5] = {
		{4, 2, 4, 2, -1},
		{-3, 55, 1, 223, 2},
		{2, 4, 5, 2, 1}
	};
	
	for(int i = 0; i < 3; i++) {
		for(int j = 0; j < 5; j++) {
			
			printf("%d, ", array[i][j]);
			
		}
		printf("\n");
	}
	
	return 0;
}