[扬名天下]求助C++程序高手

[复制链接]
查看11 | 回复0 | 2021-1-10 03:39:25 | 显示全部楼层 |阅读模式
找出错误,说明原因并改正,谢谢啦!!!!
    (1)#include
      int main()
      {int*p;
       *p=9;
       cout>r;
      spi*r*r;
      cout<<“the area is:“<<s<<endl;
      }
      
      
    (4)
    #include
      void main()
      {
      int i=1,sun=0;
      do
      sum=sum+i;
      i++;
      while(i<=100)
      cout<<“sum=“<<sum<<endl;
      }
      
      
      
    (5)float&fn(float r)
      {
      float temp
      temp=r*r*3.14;
      return temp;
      }
      void main()
      {
      float& d=fn(5.0);
      }
      
      
    高手们一定要帮忙啊!!不然我死定了不得!!
    谢谢了,
    
    
  
  
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行