Decimal a Octal

El nombre lo dice… si quieren transformar de Decimal a los numeros Octales

#include<stdio.h>
#include<stdlib.h>

main()
{
int h;
printf(“Escriba el numero\n”);
scanf(“%d”,&h);
printf(“El numero transformado en octal es %o\n “,h);
system(“pause”);
return(0);
}

Deja un comentario

Fill in your details below or click an icon to log in:

Logo de WordPress.com

You are commenting using your WordPress.com account. Log Out / Cambiar )

Twitter picture

You are commenting using your Twitter account. Log Out / Cambiar )

Facebook photo

You are commenting using your Facebook account. Log Out / Cambiar )

Connecting to %s