求一幅画的最大值及其在 C 中的位置

该程序在 C.

#include
#include

int main()
{
    int 最大,position, 长度=10;
    int tab[10]={12345678910};
    max=0;
    为 (int i=0 ;我<长度;i++)
   {
      if(tab[i]>max){
             max=制表符[i];
             position=i;
     }
   }
   printf(最大值 : %d\n位置: %d\n”max,位置);
    返回 0;
}