How to left and right justify the same line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to left and right justify the same line

i need to print 03/21/2017 - 06/01/2017 (52 business days) left justified and have 644.0 estimated hours @ $60130.00 right justified with commas in the dollar amount. ive tried multiple times and cannot get it. thanks

26th Mar 2017, 2:02 AM
Brandon
1 Answer
+ 8
Could you pls add some more information? What do you want to do? Do you want to multiply the amount by the hours and format the output with separating commas? Like this: 60,130.00 ?
9th Apr 2017, 7:14 PM
Tashi N
Tashi N - avatar