- 2

C program .... can we draw no of dashed line as the input given?

For example... If the user example is 10,2,7,5,11,5 Then the ouput must be 10 dashed line upwards and 2 dashed line downwards 7 upwards 5 downwards 11 upwards and 5 downwards.... Note: it should appear as a graph https://www.sololearn.com/post/847119/?ref=app

31st Dec 2020, 9:31 AM
Solomon Simeon
Solomon Simeon - avatar
1 ответ
+ 1
Yes. https://www.sololearn.com/post/868366/?ref=app Create a char grid in memory. Fill it with spaces. Plot the graph onto the grid. Print the grid.
8th Jan 2021, 10:48 AM
Brian
Brian - avatar