任意提取一个长整数,将所有奇位数提取出来合成一个新的数并输出.用C语言编程序

学习 时间:2026-06-05 19:53:00 阅读:7270
任意提取一个长整数,将所有奇位数提取出来合成一个新的数并输出.用C语言编程序例如输入98765432,输出8642

最佳回答

无情的路人

淡定的纸鹤

2026-06-05 19:53:00

#include main(){int i,n=0,num[100];char s;printf("请输入数字\n");for(i=1;i

最新回答共有2条回答

  • 温暖的未来
    回复
    2026-06-05 19:53:00

    #include main(){int i,n=0,num[100];char s;printf("请输入数字\n");for(i=1;i

上一篇 red river valley 谁唱的

下一篇 设关于x的二次方程(a-1)x²-(a²+2)x+(a²+2a)=0及(b-1)x