2006年7月31日

摘要: #include<stdio.h>#include<conio.h>void main(){ int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) printf("%d*%d=%-3d",j,i,j*i); printf("\n"); } printf("\n"); getch();} 阅读全文

posted @ 2006-07-31 13:18 abcdeft 阅读(212) 评论(0) 推荐(0)

摘要: #include<stdio.h>#include<conio.h>void main(){ int i=1; char c; while(i==1) { printf("Do you love me?\n"); printf("choose Y or N:\n"); scanf("%c",&c); if(c=='Y'||c=='y') { printf("I'll... 阅读全文

posted @ 2006-07-31 13:16 abcdeft 阅读(809) 评论(2) 推荐(0)