How to rotate a dashed line in 8steps of like 45 degrees until it covers 360 degrees using C++ programming language. | Sololearn: Learn to code for FREE!