> For the complete documentation index, see [llms.txt](https://mikkicoding.mikkipastel.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mikkicoding.mikkipastel.com/introduction-of-programming/03-intro-algorithm.md).

# Flowchart

คือ การเขียนขั้นตอนของการทำงานของโปรแกรมคอมพิวเตอร์ เพื่อนำไปเขียนโปรแกรมต่อไป มีการเขียน algorithm อยู่ 2 ลักษณะ คือ

1. การเขียนซูโดโค้ด (Pseudocodes) : เป็นการอธิบายขั้นตอนการทำงานของโปรแกรมเป็นขั้นตอนในการเขียนโปรแกรมได้ง่ายขึ้น
2. การเขียนผังงาน (Flowchart) : เป็นแผนงานที่ใช้อธิบายการทำงานของโปรแกรม โดยใช้แผนภาพอธิบาย เพื่อศึกษาการทำงานของโปรแกรมได้ง่าย การเขียนผังงานแบ่งออกได้เป็น 2 ประเภทใหญ่ๆ คือ

* ผังงานระบบ (System Flowchart) : แสดงการทำงานภายในระบบ แต่ไม่ได้แสดงคำสั่งที่ใช่ในโปรแกรม
* ผังงานโปรแกรม (Program Flowchart) : เป็นการอธิบายการทำงานของโปรแกรม แสดงคำสั่งที่ใช้ในโปรแกรม จึงสามารถนำไปใช้ในการเขียนโปรแกรมได้

ที่นิยมเขียนกัน จะใช้มาตรฐานของ ANSI (American National Standards Institute) เช่น

![](/files/woQpd7nqSXn9UeucM7cS)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mikkicoding.mikkipastel.com/introduction-of-programming/03-intro-algorithm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
