C++ menu-driven program to draw the thick, thin, and dotted line
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp -lgraph kodingwindow@kw:~$ ./a.out
———————————————————————————————————————————
C++ program for the thick, thin, dotted line
———————————————————————————————————————————
1.Thin Line
2.Dotted Line
3.Thick Line
4.Exit
———————————————————————————————————————————
Enter your choice 1
Enter the x1 coordinate 20
Enter the y1 coordinate 20
Enter the x2 coordinate 150
Enter the y2 coordinate 150
———————————————————————————————————————————
C++ program for the thick, thin, dotted line
———————————————————————————————————————————
1.Thin Line
2.Dotted Line
3.Thick Line
4.Exit
———————————————————————————————————————————
Enter your choice 2
Enter the x1 coordinate 20
Enter the y1 coordinate 20
Enter the x2 coordinate 100
Enter the y2 coordinate 100
———————————————————————————————————————————
C++ program for the thick, thin, dotted line
———————————————————————————————————————————
1.Thin Line
2.Dotted Line
3.Thick Line
4.Exit
———————————————————————————————————————————
Enter your choice 3
Enter the x1 coordinate 20
Enter the y1 coordinate 20
Enter the x2 coordinate 150
Enter the y2 coordinate 150
Dear User, Thank you for visitng Kodingwindow. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.
Dear User, We are grateful for your interest in the Kodingwindow Android app. We intend to soon make it available on the Google Play Store. Currently, Android versions 10 and up require manual apk installations. Would you like to get the app?