Skip to content

Instantly share code, notes, and snippets.

View thaiall's full-sized avatar

burin rujjanapan thaiall

View GitHub Profile
@thaiall
thaiall / for_for_count_round.c
Created October 1, 2016 08:22
โปรแกรมทำงานซ้อนกัน แล้วหาจำนวนรอบที่เกิดขึ้นทั้งหมด ด้วย ภาษา C
#include <stdio.h>
int main() {
int sum = 0;
for(int i=1;i<5;i++)
for(int j=1;j<i;j++) sum++;
printf("count= %d",sum);
return 0;
}