Scanner er = new Scanner(System.in);
int a = er.nextInt();
int b = er.nextInt();
int result = 1;
for(int i = 0; i < b; i++){
result = result * a;
}
System.out.println(result);
my question is why you write this word ( result = result * a; )
everyone can you explain this word