Print armstrong number

#include <bits/stdc++.h>

#include
using namespace std;

int order(int x)
{
int n = 0;
while (x) {
n++;
x = x / 10;
}
return n;
}
int Armstrong(int x)
{

int n = order(x);
int temp = x, sum = 0;
while (temp) {
	int r = temp % 10;
	sum += pow(r, n);
	temp = temp / 10;
}
return sum ;

}
int main()
{
int x ,n1,n2,i,sum,t;
cin>>n1>>n2;;

for(i=n1;i<=n2;i++){
	t=i;

int armstrong(t);
if (sum==t){

	cout<<t;
	}

}

cout<<endl;
return 0;

}

this code is not showing any output
plzz correct it