Advertisement
huutho_96

khungwindow

Mar 8th, 2015
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. //ve khung chieu dai b - a. rong 3 hang.
  2. void KhungChuNhat(int a, int b)
  3. {
  4. int i;
  5. for (i = a; i <= b; i++)
  6. {
  7. gotoxy(i, 17); printf("\xcd");
  8. gotoxy(i, 19); printf("\xcd");
  9. }
  10. gotoxy(a, 17);
  11. printf("\xc9");
  12. gotoxy(a, 18); printf("\xba");
  13. gotoxy(a, 19); printf("\xc8");
  14. gotoxy(b, 17); printf("\xbb");
  15. gotoxy(b, 18); printf("\xba");
  16. gotoxy(b, 19); printf("\xbc");
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement