Write a pseudo-code to move from the start (S) to the end (E) in the maze.
Answers
Answered by
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
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
Hindi,
6 months ago
Computer Science,
6 months ago
India Languages,
6 months ago
French,
11 months ago
Physics,
1 year ago
Biology,
1 year ago