From 21199f34802cf6735516596343b31b1336e9742c Mon Sep 17 00:00:00 2001 From: letoni <letoni@taltech.ee> Date: Thu, 12 Oct 2023 12:33:04 +0300 Subject: [PATCH] Upload New File --- uus1.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 uus1.c diff --git a/uus1.c b/uus1.c new file mode 100644 index 0000000..47603dd --- /dev/null +++ b/uus1.c @@ -0,0 +1,35 @@ +# include <stdio.h> +/* progra....*/ +//______________________________ +int isnum(char []); +void readarr(int n, int [n][n]); +void hange(int n1, int, int, int [n1][n1],int [n1][n1]); +void outAr(int n1, int, int, int [n1][n1],int [n1][n1]); +//______________________________ + +int main(void) +{int N; + do{ + printf("%s","who big N"); + scanf("%d", N);} + while(N >0 || N>7); + N=8; +int ARR[N][N],AR2[N][N]; +int row,col; +row=isnum("users row number"); +col=isnum("users column number"); +readarr(N,ARR); +change(N,row,col,ARR,AR2); +outAr(N,row,col,ARR,AR2); +return 0; +} +int isnum(char word[]) +{int num; + printf("%s",word); + scanf("%d",&num); +return num; +} +void readarr(int n, int gh[n][n]) +{;} +void hange(int n1, int r1, int c1, int a1[n1][n1],int a2[n1][n1]){;} +void outAr(int n1, int r2, int c2, int b1[n1][n1],int b2[n1][n1]){;} -- libgit2 0.25.0