۲۱۹
if r = 10
then
f1$ = "A"
elseif r = 11
then
fl$ = "B"
elseif r = 12
then
fl$ = "C"
elseif r =
13
then
fl$ = "D"
elseif r = 14
then
fl$ = "E"
elseif r = 15
then
fl$ = "F"
end if
end if
num$ = fl$+ num$
wend
print "The given number in base 10 is.. "; n
print: print
print "In base "; b; "it is
"
; num$
end
give me the number in decimal
9105
give me the base in which the number is to represented
?
8
The given number in base 10 is.. 9105
In base 8 it is ..... 21621
give me the number in decimal
?
90
والنتيجة:
ج٢ ص٢١٩