Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

change a positive number to negative or a negative number to positive

static int changeNumberDirection(int number){
            return number * -1;
        }
 
PREVIOUS NEXT
Tagged: #change #positive #number #negative #negative #number #positive
ADD COMMENT
Topic
Name
3+2 =