Answer:
876100
019343
Explanation:
10s complement of a decimal number is obtained by the following process:
- Obtain 9s complement ( Subtract each digit by 9)
- Add 1 to the result
1) 123900
9s complement => (9-1)(9-2)(9-3)(9-9)(9-0)(9-0)
= 876099
Adding 1 , 10s complement of 123900 = 876100
2) 980657
9s complement = (9-9)(9-8)(9-0)(9-6)(9-5)(9-7)
= 019342
Adding 1 , 10s complement of 980657 = 019343
In an if...else statement, if the code in the parenthesis of the if statement is true, the code inside its brackets is executed. But if the statement inside the parenthesis is false, all the code within the else statement's brackets is executed instead.
Of course, the example above isn't very useful in this case because true always evaluates to true. Here's another that's a bit more practical:
#include <stdio.h>
int main(void) {
int n = 2;
if(n == 3) { // comparing n with 3 printf("Statement is True!\n");
}
else { // if the first condition is not true, come to this block of code
printf("Statement is False!\n"); } return 0;
}
Output:
Statement is False!
There are 0.5 strides in one girth
so 4.5 strides will be equal to 9 girth
hope it helps
Answer:
c)Banana * daco;
Explanation:
To declare an variable pointer we use * symbol after writing it's type.For example int *.Then we write the name of the variable since the name of the variable is daco.The class is a user defined data type so instead of writing any data type we will write class name then the * then name of the variable.
Banana * daco; which matches the option c Banana* daco;