Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Octal, hex and decimal conversion example 2
|
||||
|
||||
#include <iostream.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
cout<<"The decimal value of 15 is "<<15<<endl;
|
||||
cout<<"The octal value of 15 is "<<oct<<15<<endl;
|
||||
cout<<"The hex value of 15 is "<<hex<<15<<endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user