+ 2

p=a² + bc

☝☝ Write java expression for the above line...

18th Feb 2017, 6:47 PM
Yashasvi Rastogi
Yashasvi Rastogi - avatar
2 ответов
+ 17
p=(a*a)+(b*c) or use power method math.pow(a,2)+(b*c)
18th Feb 2017, 6:51 PM
soumya
soumya - avatar
+ 2
If math header file is included then p=pow(a,2)+b*c
3rd Mar 2017, 2:04 AM
Akash Kumar Sharma
Akash Kumar Sharma - avatar