public class Sample {

    public static void main(String[] args) {
        int num = 10;
        do {
            System.out.print(num + " ");
        } while (num != 10);
    }
}



OUTPUT:
10

 

相关文章:

  • 2021-07-27
  • 2022-12-23
  • 2021-05-10
  • 2022-12-23
  • 2022-12-23
  • 2021-04-26
  • 2022-12-23
  • 2021-04-13
猜你喜欢
  • 2021-08-23
  • 2022-02-02
  • 2022-12-23
  • 2021-12-17
  • 2021-05-16
  • 2022-01-17
相关资源
相似解决方案