Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Program to Display entered number with right and left justification.
- #include<stdio.h>
- void main()
- {
- int num1;
- printf("Enter the number: "); //coded byItsSuman
- scanf("%d",&num1);
- printf("%d",num1); //luv coding find happiness
- printf("%16d",num1);
- }
Add Comment
Please, Sign In to add comment