返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6. int j=0;   
  7. for(int i=0;i<=500;i++)
  8. {
  9.       if(i%5==0)
  10.       j++;   
  11.       cout<<j<<"%"<<endl;
  12.       system("cls");
  13. }  
  14. cout<<j<<"完成"<<endl;   
  15. system("pause");   
  16. return 0;   
  17. }
複製代碼

TOP

返回列表