fork download
  1.  
  2. using System;
  3.  
  4. namespace ConsoleApplication1
  5. {
  6. class Program
  7. {
  8. static void Main(string[] args)
  9. {
  10. int n=1;
  11. for(int i=n;i<=9;i++)
  12. {
  13. if(i/3==0)
  14. {
  15. Console.WriteLine(i);
  16. }
  17. else
  18. {
  19. Console.WriteLine("\n"+i);
  20. }
  21. }
  22. }
  23. }
  24. }
Success #stdin #stdout 0.03s 37008KB
stdin
Standard input is empty
stdout
1
2

3

4

5

6

7

8

9