Main.java 796 B

1234567891011121314151617
  1. package com.sig;
  2. //TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
  3. // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
  4. public class Main {
  5. public static void main(String[] args) {
  6. //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
  7. // to see how IntelliJ IDEA suggests fixing it.
  8. System.out.printf("Hello and welcome!");
  9. for (int i = 1; i <= 5; i++) {
  10. //TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
  11. // for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
  12. System.out.println("i = " + i);
  13. }
  14. }
  15. }