#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
void main()
{
clrscr();
int hex;
int oct=024;
int un=-455;
printf("enter the no. for hexadecimal no.");
scanf("%d",&hex);
printf("\nThe Hexadecimal equivalent is:%x",hex);
printf("\nthe octal no: %o",oct);
printf("\nthe ..... %u",un);
getch();
}
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment