mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
377 B
21 lines
377 B
10 months ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"piscine"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
piscine.PrintNbrBase(125, "0123456789")
|
||
|
z01.PrintRune('\n')
|
||
|
piscine.PrintNbrBase(-125, "01")
|
||
|
z01.PrintRune('\n')
|
||
|
piscine.PrintNbrBase(125, "0123456789ABCDEF")
|
||
|
z01.PrintRune('\n')
|
||
|
piscine.PrintNbrBase(-125, "choumi")
|
||
|
z01.PrintRune('\n')
|
||
|
piscine.PrintNbrBase(125, "aa")
|
||
|
z01.PrintRune('\n')
|
||
|
}
|