Professional Documents
Culture Documents
Nhap Lap Trinh
Nhap Lap Trinh
I<N
I++
S+=i
N=38
A=7()
B=15
S=162.
15
1x5=5
2(1+5)=12
ab
a.b=2(a+b)
Intput: N
Process: Kiem tra so nguyen to
+
Output: Tong cac so nguyen to nho hon N
I=2 I=3 I=4 I=5 I=6
X=2
N=7
I=2
135
Min=5
I=1 i=2 i=3 i=4 i=5
S=1 S=2 S=6 S=24 S=120
T=1 T=3 T=9 T=33 T=153
N=5, i<n
I=0
S=1
T=0
I=i+1
S=s*i
T=t+s
137/60