Problem in LUCKY02

#include
using namespace std;
int main()
{
int t;
cin >> t;
while(t–)
{
int n,c=0,k=0,m;
cin>>n;
while(n>0)
{
m=n%10;
c++;
if(m==7||m==3)
k++;
n=n/10;
}
if(c==k)
{
cout<<“LUCKY”;
break;
}
else
{

cout<<"BETTER LUCK NEXT TIME";
break;

}
}
return 0;
}

//giving wrong answer

Please either format your code or (better!) link to your submission - the forum software has mangled it and it won’t compile! :slight_smile: