YOU SAID:
for ( int i = 0; i < 10; i++) { printf("Enter an integer for element #%d : ", i + 1); scanf("%d", userVals[i]); }
INTO JAPANESE
for(int i = 0; i <10; i ++){printf( "要素#%dの整数を入力してください:"、i + 1); scanf( "%d"、userVals [i]); }
BACK INTO ENGLISH
for (int i = 0; i <10; i ++) {printf ("Enter an integer for element #% d:", i + 1); scanf ("% d", userVals [i]) ;}
INTO JAPANESE
for(int i = 0; i <10; i ++){printf( "要素に整数を入力#%d:"、i + 1); scanf( "%d"、userVals [i]);}
BACK INTO ENGLISH
for (int i = 0; i <10; i ++) {printf ("Enter an integer in the element #% d:", i + 1); scanf ("% d", userVals [i]);}
INTO JAPANESE
for(int i = 0; i <10; i ++){printf( "要素に整数を入力#%d:"、i + 1); scanf( "%d"、userVals [i]);}
BACK INTO ENGLISH
for (int i = 0; i <10; i ++) {printf ("Enter an integer in the element #% d:", i + 1); scanf ("% d", userVals [i]);}
Well done, yes, well done!