#include <stdio.h>
#include <stdlib.h>
int LIMIT_X,LIMIT_Y;
int main() {
printf("sütün sayisini giriniz:");
scanf("%d",&LIMIT_X);
printf("satir sayisini giriniz:");
scanf("%d",&LIMIT_Y);
int satir = 0;
int sutun = 0;
while (satir < LIMIT_X) { // Loop for rows
sutun = 0; // Reset sutun for each new row
while (sutun < LIMIT_Y) { // Loop for columns
printf("(%d,%d)",satir ,sutun);
sutun++; // Increment sutun
}
printf("\n"); // Move to the next line after printing a row
satir++; // Increment satir
}
printf("\n");
printf("end of the matrix");
return 0; // Return 0 to indicate successful completion
}