Whats wrong with this code....
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int x,y;
cin>>x>>y;
while(1){
if((0<x<=2000)&&(0<=y<=2000))
{
if((x<=y)&&(x%5==0))
cout<<y;
//else if((x/2)>y)
// cout<<y;
// else
// cout<<y;
else
{
break;
}
}}
getch();
return 0;
}
I want to print the single value of y.I do not find the error of the code.