Write a pseudo-code to move from the start (s) to the end (e) in the maze infosys
Answers
Answer:
for(counter = 0,counter<=4,counter=counter+1)
move right
end for
for(counter = 0,counter<=6,counter=counter+1)
move right
end for
for(counter = 0,counter<=5,counter=counter+1)
move right
end for
Explanation:
Iterate through these loop ,follow the instructions you will get an answer,its an easy one.
Answer:- Pseudo-code to move from the start to the end in the maze Infosys are:-
for(counter = 0,counter<=4,counter=counter+1)
move right
end for
for(counter = 0,counter<=6,counter=counter+1)
move right
end for
for(counter = 0,counter<=5,counter=counter+1)
move right
end for
Pseudo code is a process of computer program or algorithm, that can be expressed in form of a natural language than in a programming language. The following is the syntax for pseudo code move from the start (s) to the end (e) in the maze Infosys.
The rules of the pseudo-code are straight forward. These contain while, do, for, if, and switch.
To know more about the given topic please go through the following
Link1:- https://brainly.in/question/10006885?
Link2:- https://brainly.in/question/9687950?
#SPJ3