字體:小 中 大 | |
|
|
2008/01/11 22:37:27瀏覽566|回應0|推薦4 | |
#include <stdio.h> main() { int a,b,n; n=1; do { printf("Tnput your password 3 number :"); scanf("%d",&a); if(a==1019) printf("Yes! You can get in !\n"); else printf("No! You can try again !\n"); n++;}while(a!=1019&&n<=3); } |
|
( 知識學習|語言 ) |