编辑代码

#include<stdio.h>
int main()
{
    int left = 0;
    int right = 9;
    int mid = (left + right) / 2;
    printf("%d\n",mid);

    return 0;
}