Answer:
Create a text file. And add this code in it:
@echo off
You are welcome to the batch programming!
And now save it with .bat file type. Give it any name you want.
And to run the bat file, double click the bat file. It will be running.
You can run it from command prompt as well. Type as below:
C:\folder\batch_name.bat.
Now, we can add as many commands in the file as we want, and we can do the batch programming.
Explanation:
Please check the answer section.
Answer:
348 + 395 = 743
Hence, together they have 743 pennies and not 653 pennies. And we cannot perform the rounding, as that is the case when we have the decimal number or the float number. Only then we have the digits after the decimal. And if it's more than 5, we add 1 to the previous or else leave the number as it is. And we go on performing from right to left, and till the number of decimal places, we need to round off. However, here its purely an integer, and hence we cannot round off, as that will result in a significant loss, and which is not acceptable. However, if we want to round off before decimal places as well, then in that case 743 will be $7s, and 653 pennies will be 6+1= $7s, and if this level of loss is acceptable then we can assume that they have the same sum of money. However, here the answer is given in pennies, and hence this is not the case. And hence the answer given in the question is not correct.
Explanation:
The answer is self-explanatory. And since both are numbers, rounding is not required(as explained in the answer section), as it is required in case of decimal and float(as explained in the answer section). And as explained in the answer section, if we can tolerate very heavy loss, then the numbers as well can be rounded off as explained in the answer section. But that is not the case here, as the answer is given in pennies.
Answer:
The number of nodes in a full binary tree of height 2 = 7
Explanation:
At each level k, of the full binary tree there are usually
nodes.
So the full binary tree of height 2 has nodes=
+
+
.
which is 7.
Answer:
ask your teacher for a little guidence.
Explanation:
even though you may not get the answer you need they might give you some assitance