问答详情
源自:2-5 格式化输出语句

大佬帮我看看这个怎么写才对?


#include <stdio.h>

int main()

{

int dengji = 2;

int liliang,minjie,zhili;

liliang = 20;

minjie = 30;

zhili = 10;

int shengming =(dengji*liliang);

printf(%d\n,shengming);

return 0;

}


提问者:qq_慕函数9094777 2020-11-25 21:40

个回答

  • 慕仰5352929
    2020-11-25 22:20:51
    已采纳

    #include <stdio.h>

    int main()

    {

    int dengji = 2;

    int liliang,minjie,zhili;

    liliang = 20;

    minjie = 30;

    zhili = 10;

    int shengming =(dengji*liliang);

    printf("%d\n“,shengming);


    return 0;

    }