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
your answer is b to the question
Https://simplelifestrategies.com/sls-learningstyle/ this list may help ypu decide
Answer:
String word = "George slew the dragon";
int pos = word.indexOf("dr");
String drWord = word.substring(pos, pos+4);
System.out.println(drWord);
Explanation:
Assuming dr is always there, we don't have to check the validity of 'pos'. Normally, you would!