C的一道很简单的题!编写一个能产生下列输出的程序hello!hello!hello!hello!hello!hello!

学习 时间:2026-04-02 17:29:18 阅读:40
C的一道很简单的题!编写一个能产生下列输出的程序hello!hello!hello!hello!hello!hello!在程序中定义一个能显示字符串hello!一次的函数,并在需要是使用该函数

最佳回答

震动的小蚂蚁

阳光的母鸡

2026-04-02 17:29:18

#include void print_hello(){ printf("hello! "); //显示字符串hello!一次}int main(){ int i,j; for(i = 3 ; i > 0 ; i--) //循环3行 { for(j=0;j

最新回答共有2条回答

  • 单薄的红酒
    回复
    2026-04-02 17:29:18

    #include void print_hello(){ printf("hello! "); //显示字符串hello!一次}int main(){ int i,j; for(i = 3 ; i > 0 ; i--) //循环3行 { for(j=0;j

上一篇 无论哪课都得,求求各位哥哥姐姐教教我,我现在是提前写五年级的作业,

下一篇 以等待什么为话题的作文要求800字跪求