|   |  | 
| ปรับปรุง : 2564-07-13 (ปรับแฟ้ม) | 
| datatype | TurboC | Programming | 
| // cout, do while<br>การใช้ cout คู่กับ do while 
/* http://www.thaiall.com/tc */
#include <stdio.h>
#include <iostream.h>
#include <conio.h>
void main()
{
  clrscr();
  int count = 1;
  do {
  cout << count <<  count << count << "\n";   // 111
  count++;
  } while (count < 10);
  getch();
}
 | 
| 
 | 
| "ไม่เริ่มต้นในวันนี้ จะไม่มีทางสำเร็จในวันพรุ่ง" โดย โยฮัน ว็อล์ฟกัง ฟ็อน เกอเทอ |