A=1/2h(a+b)
1/2 can be said as 0.5
so
A=0.5h(a+b)
0.5h is being multiplied with (a+b), taking this expression of left hand side gives
A/0.5(a+b)=h
OR
h=A/0.5(a+b)
This is the final answer
Answer:
void print2(int row) {
for (int i = 0; i < row; i++) {
char ch = 'a';
char print = ch;
for (int j = 0; j <= i; j++) {
cout << print++;
}
cout << endl;
}
}
int count_digits(int num) {
int count = 0;
int temp = num;
while (temp != 0) {
temp = temp / 10;
count++;
}
return (num % count);
}
Explanation:
Explanation:
not A or D,
about B and C I'm not sure
The Answer Is: "Microsoft".
Answer:
1 35
Explanation:
* There is a little typo in printf. It should be "\n".
Initially, the value of the first is 1, and the value of the second is 2. Then, do_something(&second, first) is called. The value of the <em>first</em> will still be 1. However, there is a call by reference for <em>second </em>variable. That means the change made by the function <em>do_something</em> will affect the value of the <em>second</em> variable.
When you look at the calculation inside the <em>do_something</em> function, you may see that value of the <em>second</em> will be 35.