Answers

  • Brainly User
2015-07-25T00:21:48+05:30
1-take a number from user and store it in "n"
2-then take another variable, let it be "p"
3- then put p=n*n
4-print p
0
2015-07-25T11:26:40+05:30
It's better to use Math.pow(2,int); or Math.pow(int,2); for java.
0