Answer:
D. 41
Explanation:
101001 is in base 2.
To convert 101001 to base 10;
1*2^5+0*2^4+1*2^3+0*2^2+0*2^1+1*2^0
1*32+0*16+1*8+0*4+0*2+1*1
32+0+8+0+0+1
=41
Answer:
sending rude text messages
Explanation:
Answer:
Answered below
Explanation:
// Python implementation
incrementAmount = 5
basePrice = 10
price = 0
arrivalHour = int(input("Enter arrival hour 0-12: ")
if arrivalHour < 0 or arrivalHour > 12:
print ("Invalid hour")
if arrivalHour == 0:
price = basePrice
else:
price = arrivalHour * incrementAmount
totalPrice = price + basePrice
if totalPrice > 53:
totalPrice = 53
print ("Your bill is $totalPrice")
Use symbols and a different password for each one