kk258966

3/5 C++ 練習四

Mar 5th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void)
  4. {
  5. char word;
  6. printf("請輸入一個字元:");
  7. scanf("%c", &word);
  8. printf("輸入內容:%c \n", word);
  9.     system("pause");
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment