floata=3.1415;printf("|%6.0f|⼀n",a);输出结果是什么????????

2025-02-27 12:03:41
推荐回答(1个)
回答1:

|-----3| -表示空格
%6.0f 6就是占六个位置, .0 就是保留 0个小数位,即不保留小数