啊哈磊_编程从这里起步

标题: 软件显示最后两行有问题,但不知道出在哪里,求求大家帮忙看看,才刚刚接触C语音 [打印本页]

作者: Kinlin    时间: 2023-10-11 22:27
标题: 软件显示最后两行有问题,但不知道出在哪里,求求大家帮忙看看,才刚刚接触C语音
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {
  5.    int a=1;
  6.   //system("color 04");
  7.     while(a<=100);
  8.     if(a%3!=0)
  9.          printf("%d",a);
  10.     a=a+1;
  11.     }
  12.     system("pause");
  13.     return 0;
  14. }

复制代码





欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/) Powered by Discuz! X3.2