Printing Different Paterns in Single Program : Here User enter X Coordinate, Y coordinate ,Length L,number n. if user enters n
 we have to print "stright Line" with (x,y) cordinates, if n=2 print bisecting Lines if n=3 print triangle like.... Here  Length purpose is to Print Length of side is equal to L. Is there any solutions for this question please comment because it was asked me for interview?