#include <stdio.h> void calTotalNum(int bottleNum, int* totalSodaNum); int main() { int n; int totalSodaNum; while (scanf("%d", &n) != EOF) { if (n == 0) { break; } totalSodaNum = 0; // 每次需要重置为 0 calTotalNum(n, &totalSo...