kk258966

3/5 C++ 練習三

Mar 5th, 2014
133
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. float num;
  6. printf("請輸入一個小數:");
  7. scanf("%f", &num);
  8. printf("輸入內容:%f \n", num);
  9.     system("pause");
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment