Consider the below statement – what will be the output (1)?

22. Consider the below statement – what will be the output?

<div data-ng-app="" data-ng-init="qty=3;price=2.5">
	<p>The result is: {{qty * price}}</p>
</div>
  1. The result is: 7.5
  2. The result is: 7
  3. The result is: 7.50
  4. The result is: 3*2.5

Answer: A) The result is: 7.5

Explanation:

The output of the above statement is: The result is: 7.5


Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.