Java program to find the power of a number

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

More complicated.
Can i write directly after initiating number,

Int a= number*number*number;
System. Out. println( a) ;

hrushikeshbhandge
Автор

but in this logic (num)^0 =num which is to be rectified as it is zero

mounikapullagura