以下是用 C 语言解决此问题的代码: ```c #include <stdio.h> int main() { int num; printf("请输入一个 7 位整数: "); scanf("%d", &num); int million = num / 1000000; int thousand = (num % 1000000) / 1000; int rest = num % 1000; printf("%d,%d,%d.00\n", million, thousand, rest); return 0; } ``` [2024-11-04 22:34:02 | AI写代码神器 | 138点数解答]