Medium
Aligned Columns
Read n, then n lines of
item price. Print each as the item left-aligned in 10 characters followed by the price right-aligned in 8 characters with 2 decimals.Input
n, then n lines.
Output
n lines.
Sample 1
Input
2 Tea 20 Biscuit 15.5
Output
Tea 20.00 Biscuit 15.50
Sample 2
Input
1 Rice 1200
Output
Rice 1200.00
Output appears here