Experimenting with Input and Output

Write a program or procedure to achieve each of the following objectives.

  1. Read several lines of text entered by the user, output the number of lines entered, and save the data to a textfile.
  2. Read and display the text saved in the above textfile.
  3. Save ten random integers to a file of integer.
  4. Read and display all the data in the above file of integer.
  5. Use the seek procedure to enable you to output just one of the above random integers.
  6. Print records of your own design and also save the records to csv and rtf files.
  7. Output the above records to a newly created HTML file. Program SaveCSV in the preceding section may help you.
Programming - a skill for life!

Input from keyboard and file and output to monitor, file and printer