objects and graphics figure bar graph showing growth of $ , at interest print an introduction get value of principal and apr from user create graphwin draw scale labels on left side of window draw bar at position with height corresponding to principal for successive years through calculate principal principal ( aprdraw bar for this year having height corresponding to principal wait for user to press enter the pause created by the last step is necessary to keep the graphics window displayed so that we can interpret the results without such pausethe program would end and the graphwin would vanish with it while this design gives us the broad brush strokes for our algorithmthere are some very important details that have been glossed over we must decide exactly how big the graphics window will be and how we will position the objects that appear in this window for examplewhat does it mean to drawsaya bar for year five with height corresponding to $ , let' start with the size of the graphwin recall that the size of window is given in terms of the number of pixels in each dimension computer screens are also measured in terms of pixels the number of pixels or resolution of the screen is determined by the monitor and graphics card in the computer you use the lowest resolution screen you are likely to encounter on personal computer these days is so-called extended vga screen that is pixels most screens are considerably larger our default pixel window will probably seem bit small let' make the graphwin that will make it about / the size of small screen given this analysiswe can flesh out bit of our design the third line of the design should now