Define and display a polygon with straight edges. How do i write a code for inputs and user interactions, for interactive input by typing in the data using the keyboard or mouse clicks and file input.
This post has lots of things wrong:
- it doesn’t make sense,
- lacks context and obviously useful information,
- there’s no indication that you’ve made any efforts to investigate by yourself so far.
This means it will be difficult and frustrating for anyone to help you.
Maybe have a look into how effective forum questions can be asked, eg here is a link for asking on Stack Overflow (not all points apply to this forum but the principles are broadly applicable):