# data[].attributes.body
#include <stdio.h> #define row 3 // we have three students #define column 2 // we have two subjects #define EC201 0 // we fix EC201as the first column #define EE201 1 // we fix EE201 as the second column void main(void) { int mark_student[row][column] = {0}; int i,j; // reading the marks of EC201 for each students /* note that only the row value change, while the column value stays the same (column 0) because we have fix that column 0 is representing EC201 */ for (i = 0; i < row; i++) { printf("EC201 marks for student %d:",i+1); scanf("%d",&mark_student[i][EC201]); } //reading the marks of EE201 for each students /* note that only the row value change, while the column value stays the same (column 1) because we have fix that column 1 is representing EE201 */ for (i = 0; i < row; i++) { printf("EE201 marks for student %d:",i+1); scanf("%d",&mark_student[i][ EE201]); } printf("\n"); /* printing the header */ printf("%7s %8s %8s\n","Student"," EC201"," EE201"); /*printing each marks for each students based on subject */ for (i = 0; i < row; i++) { printf("%4d",i+1); /* student no */ for (j = 0; j < column; j++) { printf("%9d",mark_student[i][j]); /*marks for each subjects */ } printf("\n"); } }

# data[].attributes.body
Question of Array

# data[].attributes.body
Ade bran??

http://catursgbesar.blogspot.com/2014/08/kejohanan-catur-terbuka-sungai-besar.html

# data[].attributes.body
hot topic

# data[].attributes.body
Make my head spinning like a wheel.. :(