Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you help me by editing and making additions to my Code? (C LANGUAGE) Below, there is a code from my last project, which is

Can you help me by editing and making additions to my Code? (C LANGUAGE)

Below, there is a code from my last project, which is 4*7 board that contains all zeros.

I want you to make the board 8*8 that contains all zeros, after that the user has to create a "T" shape by changing these zeros with ones.

Finaly, that created T shape has to be turned 90 degrees to the right.

For example:

image text in transcribed

The code for the board you can use:

#include  using namespace std; // function to print the board void printarray(int arr[][4]){ for (int i = 0; i   OOO- rnek: 0 0 0 0 0 0 0 0 Oo oo Od 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ekil 1: dizinin ilk durumu O O O O O O 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ekil 2: T eklinin tespit edilmi ve 90 saa evrilmi durum 0

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

More Books

Students also viewed these Databases questions

Question

=+to live and work wherever he or she wants?

Answered: 1 week ago

Question

=+How will this affect the recruiting process?

Answered: 1 week ago