Answer:
10.5
Explanation:
1010.1
Handy method you can find searching google images, and I originally learned
from some guy teaching an online java course.
.1 --> 1 * 2^(-1) = 0.5
0 --> 0 * 2^(0) = 0
1 --> 1 * 2^(1) = 2
0 --> 0 * 2^(2) = 0
1 --> 1 * 2^(3) = 8
0.5 + 2 + 8 = 10.5
If for some reason it isn't very clear, just take the number, (x) and multiply it
by two to the power of the position it is in. (e.g. first number before decimal point is 0, second 1, etc).
The correct answer is B Pinterest was credited for being the fastest site to get 10 million unique visitors
/* This program prompts the user to enter an integer
* and then determines whether the integer is between 4-6. */
start();
function start(){
var int = readFloat("Enter an integer to print in this program: ");
println("An integer from 5-6 is entered (True/False)");
if(int <= 6 || int == 4){
println("True: " + int + " was entered.");
}else{
println("False: " + int + " was entered.");
}
}
... If this isn't what you were looking for, I apologize. I'm uncertain on what you really need help with, your question isn't quite clear... I answered to the best of my ability in simple js.
edit: brainly deletes my indents... just make sure to indent properly :-)
Answer:
The program code is written in the explanation.
Explanation:
def turn_clockwise(d):
if d=="N":
return "E"
elif d=="E":
return "S"
elif d=="S":
return "W"
elif d=="W":
return "N"
else:
return "None"
Output: