Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the following Flow Chart or Commenting: 1) Knowing my current position (X1,Y1) and my final position (X2,Y2) on a grid where (0,0) is

image text in transcribed

Create the following Flow Chart or Commenting: 1) Knowing my current position (X1,Y1) and my final position (X2,Y2) on a grid where (0,0) is in the top left corner. How would I travel to the final position using the 8 standard directions of a compass (N,S,W,E,NW,NE,SW,SE). Note: You may only move to 1 of the 8 touching boxes of your current position. Think big picture what kind of comparisons, calculations, iterations, steps do I need to take. This is a logical flowchart. What are the calculated directions? No N,E,E,E,E,E,E. How did those decisions get made? Example: W 0,0 N S Y+ E X2,Y2 X1,Y1 X+

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Financial Accounting

Authors: Fred Phillips, Robert Libby, Patricia Libby

4th edition

978-0073369709, 73369705, 78025370, 978-0077444846, 77444841, 978-0078025372

More Books

Students also viewed these Accounting questions