kk258966

C++ 4/30 作業

Apr 30th, 2014
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void)
  4. {
  5.     FILE *written;
  6.     written=fopen("random.txt","w");
  7.     fprintf(written,"%d %d %d %d %d",25,50,100,60,20);
  8.     fclose(written);
  9.          
  10.     system("pause");
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment