how will you multiply a positive number by 7 without using straight forward multiplication and addition.

best i could find out was

any more interesting ways of solving this (i don't want subtraction either ???)Code:int func(int n){ int temp = n<<3; //multiply by 8 return temp - n; }