#include <stdio.h>
#include <stdlib.h>
int main()
{
int fir, sec, third;
printf("enter phone num: ");
scanf("(%d) %d %d", &fir, &sec, &third);
printf("%d.%d.%d",fir,sec,third);
return 0;
}
为啥最后输出是这个啊(我试了下去掉括号就没事了 但是加上括号是错的吗?还是在不同的电脑上就不一样)
enter phone num: (1) 2 3
1.32766.-272632696Program ended with exit code: 0