Do while
การสร้างสูตรคูณ
ขั้นตอนการเขียน
1.กาหนด header file
2. Void main กาหนดคาสั่งหรือชุดคาสั่งที่ต้องการ
{
int เป็นดาต้าไทด์ในการเก็บข้อมูลแบบจานวนเต็ม %d พร้อมทั้งตัวชื่อตัวแปร
do while คาสั่งเช็คเงื่อนไข หากเงื่อนไขเป็นจริง จะทาการทาซ้า แต่หากเงื่อนไขเป็นเท็จจะจบ
การทางานแล้วออกจาก Loop
do
{
statement1;
statement2;
...
statementN;
} while (condition);
printf คาสั่งการแสดงข้อมูลผ่านทางจอภาพ
getch ();
retrun 0;
}
3. Run เพื่อดูผลการทางานของโปรแกรม
-Media เลือก camera
- Storage (Tiny DB 1)
* กล้องจะปรากฏ
- Blocks
เบ้า 1 ปุ้มเลือกกล้อง
-Button when Button 1 click do
call Camera 1 Take Picture
เบ้าที่ 2 เก็บภาพ
- เลือก Camera when Camera 1 After Picture image do call Tiny DB 1
Tiny DB 1 StoreValue
Text พิมพ์“Pic” Variables image
เบ้า 3 แสดงภาพบนหน้าจอ
- เลือก Image set Image 1 Picture to
- Tiny DB 1 call Tiny DB 1 Getvalue
- Tag Pic
- value If tag Pic
-บาร์โค้ตสาหรับเชื่อมกับโทรศัพท์