Unable to compile and test

#include
using namespace std;
int main() {
int i;
int n;
char c;
while (i<=n)
{
cin>>c;
if (c>=97 && c<=122)
{
cout<<“lowercase”;
}
else if(c>= 65 && c<=90)
{
cout<<“uppercase”;
}
else cout<<“invalid”;
}
i=i+1;
return 0;
}