write an algorithm to visit a movie with your friend
Answers
Answer:
step 1 start step to go to the ticket counter step 3 baby pay money for the ticket step for get the ticket from the counter step 5 show your ticket at the entrance step 6 visit it step 7see
Answer:
An algorithm is a step-wise representation of a solution to a given problem. In Algorithm the problem is broken down into smaller pieces or steps hence, it is easier for the programmer to convert it into an actual program.
Explanation:
- An algorithm is a collection of instructions that a computer must follow in order to execute computations or other problem-solving tasks.
- An algorithm, according to its formal definition, is a finite sequence of instructions carried out in a certain order to execute a specific task.
- It is not the whole programme or code; rather, it is basic reasoning to a problem expressed in the form of an informal explanation in the form of a flowchart or pseudocode.
- A issue is described as a real-world or real-world instance problem for which you must create a programme or set of instructions. A set of instructions is referred to as an algorithm.
- Algorithm: An algorithm is a step-by-step method that is meant to solve a problem.
- Input: After constructing an algorithm, the required and desirable inputs are provided to the algorithm.
- The input will be sent to the processing unit, which will produce the desired output.
- Output: The program's consequence or result is referred to as the output.
Algorithm to visit a movie with your friend
Step 1: Start
Step 2: Decide on what movie to go see.
Step 3: Know how to get the tickets.
Step 4: The movie schedule must be at your fingertips.
Step 5: Buy snacks and be prepared to pay more.
Step 6: Most movie theaters would prefer that you buy food from them, but they normally don't enforce the rule.
Step 7: If you're bringing your own snacks, wear cargo pants - it's far easier to stash snacks in cargo pockets (just don't stuff them to the gills).
Step 8: Pick your seats.
Step 9: Discuss the film
Step 10 : Stop
Reference Link
- https://brainly.in/question/1185694
- https://brainly.in/question/13806920