提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • coco抠抠

    20人对此回答表示赞同

    #include "stdio.h"

    void main()
    {
    int i,n;
    for(i = 0;i < 100;i++)
    {
    if(i % 3 !=0 && i % 7 !=0)
    {
    printf("%d",i);
    n++;
    }
    if(n % 5 == 0) printf("\n&
    展开
    20
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • 亚当思密达

    17人对此回答表示赞同

    /* 函数trans将无符号整数n翻译成d(2<=d<=16)进制表示的字符串s */
    #include <stdio.h>
    #include <windows.h>
    #include <conio.h>

    #define M sizeof(unsigned int)*8

    int trans(unsigned n, int d, char s[])
    {
    st
    展开
    17
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • Quinn的小确幸

    14人对此回答表示赞同

    先构建数组char hex[] = "0123456789abcdef";
    int source;
    cin>>source;
    int mode = 1;
    循环,mode *= 16; r = source%mode;将hex[r/mode]放到字符数组中(从右往左放);source -= r;
    source < mode时停止循环。
    展开
    14
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • 周晟

    6人对此回答表示赞同

    我现在还没学C++呢-_-! 用C写个吧 只写主函数部分了
    main()
    {SqStack S;
    int e,n;
    InitStack(&S);
    printf("请输入要转换的十进制数:\n");
    scanf("%d",&n);
    while(n)
    {Push(&S,n%16);
    n=n/16;
    }
    while(!StackEmpt
    展开
    6
    0回复
    发布于 6年前

    评论(0)

    收起评论

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
咨询热线

13312967497

扫码添加业务即可随时咨询 还可领取小程序推广攻略

业务咨询: 13312967497
扫码咨询

扫码咨询套餐

回到顶部