Rone is float.

cout << "Enter R1 of Delta Network" <<"\n";
cin >> Rone;
if(Rone>0)
{
}
else
{
cout<< "R1 does not accept zero ,negative and character values";
cout << "Enter R1 of Delta Network" <<"\n";
cin >> Rone;
}


My mistake if i press any character it's going into the loop.It's not stopping.How to solve this problem.

Thanks and regards,
Mala