Hello , where am i wrong with muliply 2 array's ?
Code:#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { char egn[9]; int check[8] = {2,4,8,5,10,9,7,3,6}; int result[8]; printf("Type your ID number: "); scanf("%s",&egn); result[0] = egn[0]*check[0]; printf("%d\n",result); system("PAUSE"); return 0; }