Computer Fundamental
5801012630092 Thanyanan Aiamsamang
วันเสาร์ที่ 12 กันยายน พ.ศ. 2558
Lab 4 : Multiplication tables
void setup() {
int n = 1;
int m = 12;
int x = 18;
println("Multiplication of "+x);
while (n<=m) {
int sum = x*n;
println(+x+" * "+n+" = "+sum);
n++;
}
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น
บทความใหม่กว่า
บทความที่เก่ากว่า
หน้าแรก
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น