World Languages, asked by srishti290134, 7 months ago

Write an algorithm and draw the flowchart to convert km into m

Answers

Answered by aahanakondlegmailcom
2

algorithm for your question

Attachments:
Answered by anusha195sl
3

Answer:

Algorithm and Flowchart.

Explanation:

  • An algorithm diagram is a step-to-step process that is analyzed and the flowchart explains about the step to be followed in a program in a understandable graphical manner.
  • It is mainly used for solving and clarifying the problems.
  • The starting of the algorithm is called as Input. After, we produce a result we get the output.

Then finally, the instructions given to the algorithm is executed such that the finite number of steps done is terminated.

  • Advantages of using algorithm:
  • It is a step to step process which helps in understanding any complex problems to a simple process.
  • We call it as a procedure which is definite enough.
  • We only use the diagram to understand well about the given problems.

  • There also different kinds of operations. They are:

1. mathematical operations

2. Relational operations

3. logical operations

4. selection control

5. loop control

Given:

Algorithm and flowchart to convert kilometer into meter.

  • Algorithm steps:

1) First, start the Algorithm.

2) Enter any number of distance you want to calculate in kilometer.

3) apply the formula:

Meters= distance in kilometer*1000

4) The meters will be displayed.

5) End of the algorithm.

#SPJ2

Attachments:
Similar questions