#17 *Multi Dimensional* Arrays 2-d example for beginners #c #code #codeing

preview_player
Показать описание
the code is in comments box.

contact:

instagram id:

telegram link:

facebook id: Sayani Mondal

Gmail contact:

photography instagram account:
@sayani_9836
Рекомендации по теме
Комментарии
Автор

#include<stdio.h>

int main()
{
printf("\t Tuni technical Hacker \n");
printf("\n");
printf("2-d Multi Dimensional Arrays:- \n");
printf("\n");

int n_std =2; //coustom choose
int n_sub=3;
int mk[2][3]; //coustom arrays choose

for(int i=0; i<2; i++) {
for(int j=0; j<3; j++) {
printf("Student_roll is %d & Subject: %d, Mark's Enter: \n", i+1, j+1);
scanf("%d", &mk[i][j]);
}
}
printf("\n");
printf("Student's Marksheet show:- \n");
printf("\n");

for(int i=0; i<2; i++) {
for(int j=0; j<3; j++) {
printf("Student_Roll no: %d \n", i+1);
printf("Subject Mark's (%d) are : %d \n", j+1, mk[i][j]);
}
}


return 0;
}

TuniTechnicalHacker
join shbcf.ru