Answer:
Check the explanation
Explanation:
The above question can be sovled in the below step by step way:
15 can be written as 16-1 = 24 -1
Therefore, 15 *13 = (24 -1)*13
= 13*24 - 13
Now, when we left shift a number we multiply it by 2k .Where k is no of times we left shifted it.
Therefore, 13*24 = shift 13 to left 4 times
15 * 13 = shift 13 to left 4 times and subtract 13 from it.
(B) reporting additional cash found in the cash register
The answer is true.
Let's say we are calculating the volume of a grain silo where the the width is a constant, but the height can be changed.
In our code we would calculate the volume using something like:
PI * (WIDTH / 2)^2 * height
The variables in all caps would be named constants. Using them makes the code more readable to other people than if we were to just use their values like:
3.14 * (145.75 / 2)^2 * height
Answer:
Following are statement is given below
int k=1,total=0; // variable declaration
while(k<50) // iterating the while loop
{
total=total+k*k;// calculating the square
k=k+1; // increments the value of k by 1
}
Explanation:
Following are the description of Statement.
- Declared a variable "total" and "k" of the "integer " type initialized the total to 0 and "k" to 1.
- Iterating the while loop for less then 50 .In this loop, we calculating the sum of square of first 50 number in the "total" variable .
- After that increment the value of "k" variable by 1 to execute the loop less then 50 .
Answer:
Okay so you turn your phone on scroll up and it well show everything click the moon and on the side of your phone there is alittle swice turn it right
Explanation: