This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i need the string to be right aligned and should have the fixed length of 8 characters and also less than fixed should fill with empty spaces......
Now i had given 'p' as the character to fill i need empty space for this my code is not working
so please help me