VISUAL BASIC 2010 Create a subroutine named Plot that plots a curved line on the
ID: 3648438 • Letter: V
Question
VISUAL BASIC 2010Create a subroutine named Plot that plots a curved line on the US Map Form representing the shortest distance between two airport hubs.
Create a subroutine Plot and write code that plots a curved line on the US Map Form (Map) using the DrawCurve method of the CreateGraphics library. This will require the parameters Pen.Black and an array of points containing the xy coordinates of the starting point, midpoint, and ending point of the curve. No value for the third parameter, tension, is necessary.
In the same subroutine use the DrawRectangle method of the CreateGraphics library to draw small squares at the starting and ending points.
How do I even start this?
Explanation / Answer
start by simple things first. first create classes and list out which properties you are going to use. after that implement logic. and optimize the code . it will be very easy if you follow this approach. ThanQ
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.