Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  44
Language: C/C++
Code:
#include <stdio.h>
#include <iostream.h>
int main()
{
unsigned int a,b;
unsigned long long result=1;
cout << "Enter a,b: ";

if (!(cin >>a >>b))
        {
     cout << "Vvod ne udalys";
      _getch();
     return -1;
      }
for (int i=0,i<b,i++)
      {
     result*=a;
     }
cout result << endl;
_getch();
return 0;
}
          
          
          
          
          
          
          
          
          
Comments: