int a=3,b=4,c;c=1/2*(a+b)运行后c的值为什么是0

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/07 02:13:12
inta=3,b=4,c;c=1/2*(a+b)运行后c的值为什么是0inta=3,b=4,c;c=1/2*(a+b)运行后c的值为什么是0inta=3,b=4,c;c=1/2*(a+b)运行后c的值

int a=3,b=4,c;c=1/2*(a+b)运行后c的值为什么是0
int a=3,b=4,c;c=1/2*(a+b)运行后c的值为什么是0

int a=3,b=4,c;c=1/2*(a+b)运行后c的值为什么是0
int c你把c定义为整数了.程序自动取整