The most probable reason why your code for the dog turning right instead of is because your conditional statements are not satisfied.
<h3>What is Debugging?</h3>
This refers to the identification and removal of errors in a given code or hardware component.
Hence, we can see that you should note that you are using teh ifElse conditional statement to execute your code and you stated that the dog would turn right if:
- The left side is blocked
- If there are balls present.
Therefore, there are balls present and also the left side is blocked which causes your dog to turn right because it is executing the else statement.
Read more about debugging here:
brainly.com/question/16813327
#SPJ1
The number of branliest answers you have
Answer:
For every file size between 1 to 4096 bytes, 4096 bytes of storage will be use. For file size of 4097 to 8192 bytes, 8192 bytes of storage will be used. Therefore for file size between 8193 to 12288 bytes, 12288 bytes of storage will be used
Explanation:
This is means that for every file size between 1 and 4096 bytes, the maximum storage capacity of 4096 bytes at that range will be used in as storage. 1 byte above 4096 bytes, the next 4096 bytes of storage will be used. therefore 1 byte above 8192 bytes, the next 4096 bytes of storage will be used. Therefore, for every 1 to 4096 bytes, 4096 bytes will be used, and above that, the next 4096 byte of storage will be considered in its multiple.