Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i have qustion, how i can move element in 2D char array for example main char is C( just C will be moved each time)

i have qustion, how i can move element in 2D char array for example main char is "C"( just C will be moved each time) i want to move C top or down, left or right, in each time i press 2 for down, 6 right, 8 top , 4 left, when C moved should swapped with the char in the moved position
[ A , B , C ]
[ D , E , F ]
[ G , H , I ]
after move C down, the output:
[ A , B , F]
[ D , E , C]
[ G , H , I ]
And so on..
thank you,,

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago