Hello guys. I try to import a file from the one I made years ago with CodeBlocks. it should multiply the first number to the power of the second number(kelimasLaipsniu). Why does it show me a window always with the the word ‘something’ ? Any help would be highly appreciated.
CODE:
#include <iostream>
#include <cmath>
using namespace std;
void kelimasLaipsniu(int a,int b)
{
int temp=a;
for(int i=1;i<b;i++)
{
temp=temp*a;
}
cout<<temp<<endl;
}
int main()
{
kelimasLaipsniu(5,4);
return 0;
}