Logger order

Report a typo

Rearrange the lines to create a valid Go function and make indentations where expected to make a program look nice.

Press the right arrow button to make one full indentation and the left arrow button to remove one.

Note that if remainder of sum of numbers equal 1, then function have to return false
Reorder lines using drag or arrows. Adjust indentation with left buttons
                return false
              
                logger.Printf("sum = %d, res = %d, return false\n", num1 + num2, res)
              
                }
              
                if (num1 + num2) % 2 == 1 {
              
                func sumIsEven(num1, num2 int) bool {
              
                }
              
                return true
              
                logger := log.New(os.Stdout, "isEven: ", log.Lshortfile)
              
___

Create a free account to access the full topic