Program to produce the given output , Programming Languages

Given a file named maze1.txt whose contents is

1 0 2 2 1 2 3 0
3 2 2 1 2 0 2 2
3 0 1 1 3 1 0 0
2 0 3 0 0 1 2 0
3 2 2 0 1 2 3 2
1 0 0 1 1 0 0 0

your program when run as a.out

The maze has 12 gates.
The maze has 8 sets of walls that are all connected.
The maze has 2 inaccessible inner points.
The maze has 4 accessible areas.
The maze has 3 sets of accessible cul-de-sacs that are all connected.

The maze has a unique entry-exit path with no intersection not to cul-de-sacs and when run as a.out print

Posted Date: 3/8/2013 1:28:16 AM | Location : United States







Related Discussions:- Program to produce the given output , Assignment Help, Ask Question on Program to produce the given output , Get Answer, Expert's Help, Program to produce the given output Discussions

Write discussion on Program to produce the given output
Your posts are moderated
Related Questions
Hi I have an assignment for prolog languagle is it possible to get help

Is there one can help me in the language Lisp and Prolog

1. Write a Perl script that accepts exactly 2 integer arguments where the first argument must be less than the second argument. The script will print a comma separated list of inte

how to store an url in a dartabase(sql server 2005)? (or) create table b(url what is the datatype for url?

Write a program to draw the figure shown below. the program must provide: a. Close the fish's mouth slowly (at least 5 moves from the original position to close the mouth) b.

Expertsmind brings you unique solution in java assignments String Handling Series signifies a sequence of character types. It has set duration of personality sequence. Onc

Write a Prolog predicate  has_duplicates(L)  that is true if list  L  contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

1.  Develop an HTML code to create a Web page of blue color & display links in red color. 2.  Develop an HTML code to create a Web page which contains an image at its center.

The classical connect-4 game is played on a 67 board, it can in fact be played in any nrRowsnrCols board. In your implementation, the user will specify the number of rows nrRows an