- #include <iostream>
- #include <cstdio>
- using namespace std;
- int main()
- {
- int a=90,b=84,c=87,p=0;//变量别用大写
- while (a-(b+c)/2>=2)
- p=b+c/2;
- while (2>a-(b+c)/2&&a-(b+c)/2>0)
- p=a+b+c/3;
- printf("%d",p);
- return 0;
- }
复制代码
下次这么长代码别只发5啊哈币,本来我不想弄的【就这么点钱】,就当帮你个忙
还有,求助的时候把程序目的发一下
再者,别发这种完全不是C++语言的代码。
什么then什么(P)都没定义 |