C Programlamada 2 Boyutlu Dizi Elemanlarını Gösteren Programın Kodları
- 0
- 0
- 0
- 0
- 0
- 0
#include <stdio.h> int main() { int y, x, a[3][3]; // y : For Counting Rows // x : For Counting Columns for (y = 0; y < 3; y++) { for (x = 0; x < 3; x++) { printf("\nEnter the a[%d][%d] = ", y, x); scanf("%d", &a[y][x]); } } //Print array elements for (y = 0; y < 3; y++) { for (x = 0; x < 3; x++) { printf("%d\t", a[y][x]); } printf("\n"); } return (0); }
YORUMLARA GİT (0)