Guest User

Untitled

a guest
Nov 23rd, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. int main() {
  3. //times 代表要執行的循環次數
  4. int times = 5;
  5. //counter 計數器變數
  6. int counter = 0;
  7. while(counter<times){
  8. printf("hello world\n");
  9. counter++;
  10. }
  11. return 0;
  12. }
Add Comment
Please, Sign In to add comment