![]() |
#2
叶纤2020-01-11 20:30
|
为什么在VC++6.0上运行不出来。
#include <stdio.h>
int main( void )
{
puts( "请输入a和b的值:" );
int a,b;
scanf( "%d%d", &a, &b );
int c = (a>b) ? (a-b) : (a+b);
printf( "输出值为c: %d\n", c );
}