Computer Science, asked by venkatramanpreethi7, 10 months ago

Write a pseudo-code to move from the start (S) to the end (E) in the maze.

Answers

Answered by ervislinazuaje30
1

Answer:

This is an example of a simple pseudocode.

Home  

  a = 0;  

  b = 0;

  print "Enter first number"

  read -> to

  print "Enter second number"

  read -> b

  c = a + b

  print "The sum of " a " and " b is " c

End

Explanation:

Answered by aqibkincsem
0

Answer:

We are given a 2-D labyrinth. The goal is to explore our way through the labyrinth and travel from the beginning position to the predefined end point (the objective position).

We should scan for a way from the beginning position to the objective position till we either discover one or fumes all potential outcomes. Up (x,y) - > (x,y-1) Down (x,y) - > (x,y+1) Left (x,y) - > (x-1,y) Right (x,y) - > (x+1,y)

Similar questions