Name: Anonymous 2011-11-28 13:37
#include <iostream>
using namespace std;
int main()
{
cout << "Calculator" << endl;
cin >> "Dec: " >> dec >> 255 >> endl;
cout << "Bin: " << bin << 255 << endl;
cout << "Hex: " << hex << 255 << endl;
cout << "Oct: " << oct << 255 << endl;
}
what is wrong with this code
using namespace std;
int main()
{
cout << "Calculator" << endl;
cin >> "Dec: " >> dec >> 255 >> endl;
cout << "Bin: " << bin << 255 << endl;
cout << "Hex: " << hex << 255 << endl;
cout << "Oct: " << oct << 255 << endl;
}
what is wrong with this code