why is not taking outputting the case values 1, 2, or 3
#include <iostream.h>
#include <conio.h>
frompto()
{
cout<<"First option\n";
return 0;
}
fromotp()
{
cout<<"Second option\n";
return 0;
}
int main()
{
char value;
cout<<"This is the AMAZING program!!\n";
cout<<"1. Transform Pounds to Ounces\n";
cout<<"2. Transform Ounces to Pounds\n";
cout<<"3. Exit the program\n";
cin>>value;
switch (value)
{
case 1:
frompto();
break;
case 2:
fromotp();
break;
case 3:
cout<<"You selected to exit the AMAZING program!!/n";
return 0;
}
return 0;
}