predict the return data types of the following:
( i ) int p; double q;
r = p+q;
system. out . printIn ( r );
( ii ) float m
p = m/3* ( Math . paw (4,3));
system.out . printIn ( p )
Answers
Answered by
0
Explanation:
float m; p=m*1.0/3*(Math.pow(4,3)); System.out.println(p); Hence, we have to return the value of p and the data type of p will be double.
Similar questions
Computer Science,
9 days ago
English,
9 days ago
Social Sciences,
9 days ago
Math,
18 days ago
Math,
18 days ago
Math,
8 months ago