13 lines
222 B
C
13 lines
222 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void main()
|
|
{
|
|
char buffer[20];
|
|
int base;
|
|
|
|
for( base = 2; base <= 16; base = base + 2 )
|
|
printf( "%2d %s\n", base,
|
|
itoa( 12765, buffer, base ) );
|
|
}
|