关于scanf将空格作为终止符的影响——发票统计

scanf(" %d",&a);

这么加一个空格来读数据

猜你喜欢

转载自www.cnblogs.com/huaa/p/10003856.html