include int main() { int none,ntwo,nfive;int count=0;for(nfive=0;nfive;nfive){ for(ntwo=0;ntwo;ntwo){ none=60-ntwo-nfive;if(100=(nfive*5+ntwo*2+none)){ count;printf("第%d种:%d个五分,%d个两分,%d个1分\n",count,nfive,ntwo,none);} } } printf("共有%d种换法\n",count);getchar();... 20210311
#include <stdio.h>main(){ int m, n, i, j, count; count = 0; for ( m = 90, i = 1; m > 0; ++i, m-= 10) for ( n = m - 5, j = 1; n > 0; ++j, n -= 5 ) printf("第%4d种: 共%2d张 : %2d 张10元, %...