Answer:
This is the required code:
Explanation:
public class NumberToString {
public static String numToString(int num, int base) {
final String digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
if (num < base) {
return "" + digits.charAt(num);
} else {
return numToString(num / base, base) + digits.charAt(num % base);
}
}
}
B like in mw2 they changed some of the versions because the airport mission was offensive to some
The first one is C and the second one is b
print(x - int(x))
int(x) will round the float down to the nearest whole number x - int(x) subtracts that rounded value from the original float. This will leave the remaining decimal portion.
I hope this helps!