11 lines
132 B
Text
11 lines
132 B
Text
|
|
x = 7.125
|
||
|
|
"Decimal: "; t = p(x, 9); "
|
||
|
|
"
|
||
|
|
ibase = 16
|
||
|
|
"Hexadecimal: "; t = p(x, 9); "
|
||
|
|
"
|
||
|
|
ibase = 2
|
||
|
|
"Binary: "; t = p(x, 1001); "
|
||
|
|
"
|
||
|
|
quit
|