Engineering Full Stack Apps with Java and JavaScript
What will the following method return if called with an argument of 7?
public int transformNumber(int n){ int radix = 2; int output = 0; output += radix*n; radix = output/radix; if(output<14){ return output; } else{ output = output*radix/2; return output; } else { return output/2; } }
Select 1 option
A. 7
B. 14
C. 49
D. Compilation fails.