欢迎您访问365答案网,请分享给你的朋友!
生活常识 学习资料

C语言3进制5位数组合数律法理式代码

时间:2023-05-29

#include
#include
int main(void)
{freopen(“3进制5位数组合数律法理式.txt”, “w”, stdout);
char* Z[94]={“0”,“1”,“2”,“3”,“4”,“5”,“6”,“7”,“8”,“9”,“a”,“b”,“c”,“d”,“e”,“f”,“g”,“h”,“i”,“j”,“k”,“l”,“m”,“n”,“o”,“p”,“q”,“r”,“s”,“t”,“u”,“v”,“w”,“x”,“y”,“z”,“A”,“B”,“C”,“D”,“E”,“F”,“G”,“H”,“I”,“J”,“K”,“L”,“M”,“N”,“O”,“P”,“Q”,“R”,“S”,“T”,“U”,“V”,“W”,“X”,“Y”,“Z”,"[","]","^","_","`",":",";","<","=",">","","?","","@","{","|","}","~","!","","$","%","&","’","(",")","*","+",",","-",".","/"};
int i,j,k,l,m,n;
printf("n输出3进制5位数律法理式n");
for(i=0;i<3;i++)
for(j=0;j<3;j++)
for(k=0;k<3;k++)
for(l=0;l<3;l++)
for(m=0;m<3;m++)

printf("%s%s%s%s%sn",Z[i],Z[j],Z[k],Z[l],Z[m]);

}

Copyright © 2016-2020 www.365daan.com All Rights Reserved. 365答案网 版权所有 备案号:

部分内容来自互联网,版权归原作者所有,如有冒犯请联系我们,我们将在三个工作时内妥善处理。