#include
using namespace std;
bool isSorted(int a[],int n)
{
if( n==0 || n==1 )
{return true;}
if(a[0]<a[1])
{
return true;
}
else
{
return false;
}
return(isSorted(a+1,n));
}
int main() {
int n;
int a[1000];
if(isSorted(a,n))
cout<<“true”;
else
cout<<“false”;
return 0;
}
