#include <iostream>
usingnamespace std;
void main(){
int a;
cout<<"Enter a number"<<endl;
cin>>a;
switch(a){
case -1://If you enter (-1) then it will work
cout<<"The case is -1"<<endl;
break;//Used to get out of switch statement
default:
cout << "Your number "<< a << " is greater than 0";
break;
}
system("pause");
}