c语言编程100题,有没有大神帮帮忙答:题目:有1,2,3,4个数字,能组成多少个互不相同且无重复数字的三位数 都是多少 1.程序分析:可填在百位,十位,个位的数字都是1,2,3,4.组成所有的排列后再去 掉不满足条件的排列.2.程序源代码:main(){ int i,j,k;printf("\n");for(i1;i<5;i++)/*以下为三重循环*/ for(j1;j<5;...
C语言编程题,大侠们帮帮忙啊(快考试了,指着救命的,悬赏不低啊)_百度...答:第二题 include <stdio.h> int main(){ int n;char s[8][10]={"date", //该字符串保留 "monday","tuesday","wednesday","thirsday","friday","saturday","sunday"};while(scanf("%d",&n)){ if((n>7)||(n<=0)){ printf("error data\n");} else { printf("%s\n",s...