Answer:
See Explaination
See Explaination
Explanation:
d. If both players play perfectly, then too each player will play not let the other win. Let there be a state of the game in which the goal state can be achieved in just 2 more moves. If player 1 makes one move then the next move made player 1 will win or player 2 do the same.
Either way whatever the rule states, there must be a winner emerging.
Check attachment for option a to c.
Answer:
Following are the statement in C++ Language is given below
total=0; // variable declaration
cin >> amount; // Read the input
while(amount >=0) //iterating the loop
{
if(amount>0) // checking condition
total=total+amount; // perform operation
}
Explanation:
Following is the description of the statement
- Declared a variable "total" and initialized with them 0 to them.
- Read the input in the "amount" variable by using cin.
- iterating the loop when the amount is greater then 0.
- Checking the condition if(amount>0) then adding the total variable and amount and storing them into the total variable.
Answer:
10
Explanation:
num1=3 and num2=2
num3=myproc(num1)+myproc(num2)
myproc(num1) results 6
myproc(num2) results 4
when we add both e get 10
Answer:
The correct answer to the given question is option D) Any or all of the above.
Explanation:
A posting error is a type of error which is related to ledger and would include the errors like -
Posting wrong amount on the right side of account
Posting right amount on the wrong side of right account
Posting an amount twice and posting omission
Posting wrong amount to wrong side of right account
Posting correct amount on wrong account on right side
So by knowing all the given above points, it is quite clear that the correct option is D.