Program to display entered number with right justification

12:49 AM
#include
#include
void main()
{
int num;
clrscr();
printf("Enter the number : ");
scanf("%d",&num);
printf("%16d",num);
getch();
}

0 Comments