the do-while loop does not get executed properly for large numbers, though it works fine for really small numbers.. i tried to change the return type of no into double, but turns out that switch can only be used in case of characters.. so please HELP!
int no;
cout << //something to output
cin >> no;
switch(no)
{
case 1:
//do something
case 2:
//do something
case 3:
//do something
case 4:
//do something
case 5:
//do something
case 6:
//do something
default:
//do something
}