Printing regression line
System . out . println ( " Regression ▁ line : " ) ; System . out . print ( " Y ▁ = ▁ " ) ; System . out . printf ( " % .3f " , a ) ; System . out . print ( " ▁ + ▁ " ) ; System . out . printf ( " % .3f " , b ) ; System . out . print ( " * X " ) ; }