Subscribe to:
Post Comments
(
Atom
)
![]() |
Lakshman |
My name is Lakshman Gope. I'm a problem solver and a blogger. Now I am a student at Daffodil International University Department of Software Engineering. I like to learn algorithms and write clean code in an efficient and optimized way. I've been working on c, c++ and Java for a year and a half continuously.
#include
ReplyDeleteusing namespace std;
int main()
{
cout << "---------------------------------------" << endl;
cout << "| decimal | octal | Hexadecimal |" << endl;
cout << "---------------------------------------" << endl;
cout << "| 0 | 0 | 0 |" << endl;
cout << "| 1 | 1 | 1 |" << endl;
cout << "| 2 | 2 | 2 |" << endl;
cout << "| 3 | 3 | 3 |" << endl;
cout << "| 4 | 4 | 4 |" << endl;
cout << "| 5 | 5 | 5 |" << endl;
cout << "| 6 | 6 | 6 |" << endl;
cout << "| 7 | 7 | 7 |" << endl;
cout << "| 8 | 10 | 8 |" << endl;
cout << "| 9 | 11 | 9 |" << endl;
cout << "| 10 | 12 | A |" << endl;
cout << "| 11 | 13 | B |" << endl;
cout << "| 12 | 14 | C |" << endl;
cout << "| 13 | 15 | D |" << endl;
cout << "| 14 | 16 | E |" << endl;
cout << "| 15 | 17 | F |" << endl;
cout << "---------------------------------------" << endl;
return 0;
}
I don't know why my code didn't show up here. But thank you.
Delete