New course! Every coder should learn Generative AI!
Try a free lesson0
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
8 Answers
+ 4
Solomon Simeon Could you specify your Question little bit more ....
+ 4
His Q in my dm :"I want to create a program where input number should be drawn as dashed line"
Eg : input 10 , 2 , 5 ,7
The output should be 10 dashed line in upwards and 2 dashed line in downwards and 5 upwards and 7 downwards
+ 3
Solomon Simeon Post your attempt first to get help from the community .
+ 2
I think he meant something like this:
https://www.sololearn.com/post/847119/?ref=app
+ 2
Sorry. I am not expert in c,so this might help you:
https://www.codewalk.org/2015/09/c-line-drawing-using-dda-algorithm.html#
0
Check ur inbox
0
Can u please help
0
You